Skip to content

Commit 582b5a2

Browse files
Merge pull request #386 from oracle/wdt_issue_246
WIP - Wdt issue 246
2 parents c7ded8d + 125d120 commit 582b5a2

File tree

10 files changed

+17
-17
lines changed

10 files changed

+17
-17
lines changed

installer/src/main/bin/deployApps.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ esac
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
142142
fi
@@ -147,7 +147,7 @@ MIN_JDK_VERSION=7
147147
# Find the args required to determine the WLST script to run
148148
#
149149

150-
while [[ $# > 1 ]]; do
150+
while [ "$#" -gt 1 ]; do
151151
key="$1"
152152
case $key in
153153
-help)

installer/src/main/bin/discoverDomain.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ fi
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
142142
fi
@@ -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)

installer/src/main/bin/encryptModel.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ fi
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
146146
fi
@@ -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)

installer/src/main/bin/injectVariables.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ fi
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
154154
fi
@@ -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)

installer/src/main/bin/updateDomain.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ esac
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
142142
fi
@@ -148,7 +148,7 @@ MIN_JDK_VERSION=7
148148
# Find the args required to determine the WLST script to run
149149
#
150150

151-
while [[ $# > 1 ]]; do
151+
while [ "$#" -gt "1" ]; do
152152
key="$1"
153153
case $key in
154154
-help)

installer/src/main/bin/validateModel.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ fi
159159
#
160160
# Check to see if no args were given and print the usage message
161161
#
162-
if [[ $# = 0 ]]; then
162+
if [ "$#" -eq "0" ]; then
163163
usage `basename $0`
164164
exit 0
165165
fi
@@ -170,7 +170,7 @@ SCRIPT_ARGS="$*"
170170
# Find the args required to determine the WLST script to run
171171
#
172172

173-
while [[ $# > 1 ]]; do
173+
while [ "$#" -gt "1" ]; do
174174
key="$1"
175175
case $key in
176176
-help)

samples/docker-domain/container-scripts/setEnv.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash ex
1+
#!/bin/sh ex
22

33
# Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved.
44
# Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl.

samples/docker-domain/container-scripts/startAdminServer.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/bin/sh
22
#
33
#Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved.
44
#

samples/docker-domain/container-scripts/startManagedServer.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/bin/sh
22
#
33
#Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved.
44
#

samples/docker-domain/container-scripts/waitForAdminServer.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/bin/sh
22
#
33
#Copyright (c) 2018, 2019, Oracle and/or its affiliates. All rights reserved.
44
#
@@ -12,7 +12,7 @@ while :
1212
do
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

0 commit comments

Comments
 (0)