File tree Expand file tree Collapse file tree 10 files changed +17
-17
lines changed
samples/docker-domain/container-scripts Expand file tree Collapse file tree 10 files changed +17
-17
lines changed Original file line number Diff line number Diff line change 142142#
143143# Check to see if no args were given and print the usage message
144144#
145- if [[ $# = 0 ] ]; then
145+ if [ " $# " -eq " 0 " ]; then
146146 usage ` basename $0 `
147147 exit 0
148148fi
@@ -153,7 +153,7 @@ MIN_JDK_VERSION=7
153153# Find the args required to determine the WLST script to run
154154#
155155
156- while [[ $# > 1 ] ]; do
156+ while [ " $# " -gt 1 ]; do
157157 key=" $1 "
158158 case $key in
159159 -help)
Original file line number Diff line number Diff line change 136136#
137137# Check to see if no args were given and print the usage message
138138#
139- if [[ $# = 0 ] ]; then
139+ if [ " $# " -eq " 0 " ]; then
140140 usage ` basename $0 `
141141 exit 0
142142fi
@@ -146,7 +146,7 @@ SCRIPT_ARGS="$*"
146146#
147147# Find the args required to determine the WLST script to run
148148#
149- while [[ $# > 1 ] ]; do
149+ while [ " $# " -gt " 1 " ]; do
150150 key=" $1 "
151151 case $key in
152152 -help)
Original file line number Diff line number Diff line change 140140#
141141# Check to see if no args were given and print the usage message
142142#
143- if [[ $# = 0 ] ]; then
143+ if [ " $# " -eq " 0 " ]; then
144144 usage ` basename $0 `
145145 exit 0
146146fi
@@ -150,7 +150,7 @@ SCRIPT_ARGS="$*"
150150#
151151# Find the args required to determine the WLST script to run
152152#
153- while [[ $# > 1 ] ]; do
153+ while [ " $# " -gt " 1 " ]; do
154154 key=" $1 "
155155 case $key in
156156 -help)
Original file line number Diff line number Diff line change 148148#
149149# Check to see if no args were given and print the usage message
150150#
151- if [[ $# = 0 ] ]; then
151+ if [ " $# " -eq " 0 " ]; then
152152 usage ` basename $0 `
153153 exit 0
154154fi
@@ -159,7 +159,7 @@ SCRIPT_ARGS="$*"
159159# Find the args required to determine the WLST script to run
160160#
161161
162- while [[ $# > 1 ] ]; do
162+ while [ " $# " -gt " 1 " ]; do
163163 key=" $1 "
164164 case $key in
165165 -help)
Original file line number Diff line number Diff line change 142142#
143143# Check to see if no args were given and print the usage message
144144#
145- if [[ $# = 0 ] ]; then
145+ if [ " $# " -eq " 0 " ]; then
146146 usage ` basename $0 `
147147 exit 0
148148fi
@@ -154,7 +154,7 @@ MIN_JDK_VERSION=7
154154# Find the args required to determine the WLST script to run
155155#
156156
157- while [[ $# > 1 ] ]; do
157+ while [ " $# " -gt " 1 " ]; do
158158 key=" $1 "
159159 case $key in
160160 -help)
Original file line number Diff line number Diff line change 158158#
159159# Check to see if no args were given and print the usage message
160160#
161- if [[ $# = 0 ] ]; then
161+ if [ " $# " -eq " 0 " ]; then
162162 usage ` basename $0 `
163163 exit 0
164164fi
@@ -169,7 +169,7 @@ SCRIPT_ARGS="$*"
169169# Find the args required to determine the WLST script to run
170170#
171171
172- while [[ $# > 1 ] ]; do
172+ while [ " $# " -gt " 1 " ]; do
173173 key=" $1 "
174174 case $key in
175175 -help)
Original file line number Diff line number Diff line change 1- #! /bin/bash ex
1+ #! /bin/sh ex
22
33# Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
44# The Universal Permissive License (UPL), Version 1.0
Original file line number Diff line number Diff line change 1- #! /bin/bash
1+ #! /bin/sh
22#
33# Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
44#
Original file line number Diff line number Diff line change 1- #! /bin/bash
1+ #! /bin/sh
22#
33# Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
44#
Original file line number Diff line number Diff line change 1- #! /bin/bash
1+ #! /bin/sh
22#
33# Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
44#
@@ -12,7 +12,7 @@ while :
1212do
1313 (echo > /dev/tcp/$ADMIN_HOST /$ADMIN_PORT ) > /dev/null 2>&1
1414 available=$?
15- if [[ $available -eq 0 ] ]; then
15+ if [ " $available " -eq " 0 " ]; then
1616 echo " WebLogic Admin Server is now available. Proceeding..."
1717 break
1818 fi
You can’t perform that action at this time.
0 commit comments