Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions installer/src/main/bin/deployApps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ esac
#
# Check to see if no args were given and print the usage message
#
if [[ $# = 0 ]]; then
if [ "$#" -eq "0" ]; then
usage `basename $0`
exit 0
fi
Expand All @@ -147,7 +147,7 @@ MIN_JDK_VERSION=7
# Find the args required to determine the WLST script to run
#

while [[ $# > 1 ]]; do
while [ "$#" -gt 1 ]; do
key="$1"
case $key in
-help)
Expand Down
4 changes: 2 additions & 2 deletions installer/src/main/bin/discoverDomain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ fi
#
# Check to see if no args were given and print the usage message
#
if [[ $# = 0 ]]; then
if [ "$#" -eq "0" ]; then
usage `basename $0`
exit 0
fi
Expand All @@ -146,7 +146,7 @@ SCRIPT_ARGS="$*"
#
# Find the args required to determine the WLST script to run
#
while [[ $# > 1 ]]; do
while [ "$#" -gt "1" ]; do
key="$1"
case $key in
-help)
Expand Down
4 changes: 2 additions & 2 deletions installer/src/main/bin/encryptModel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ fi
#
# Check to see if no args were given and print the usage message
#
if [[ $# = 0 ]]; then
if [ "$#" -eq "0" ]; then
usage `basename $0`
exit 0
fi
Expand All @@ -150,7 +150,7 @@ SCRIPT_ARGS="$*"
#
# Find the args required to determine the WLST script to run
#
while [[ $# > 1 ]]; do
while [ "$#" -gt "1" ]; do
key="$1"
case $key in
-help)
Expand Down
4 changes: 2 additions & 2 deletions installer/src/main/bin/injectVariables.sh
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ fi
#
# Check to see if no args were given and print the usage message
#
if [[ $# = 0 ]]; then
if [ "$#" -eq "0" ]; then
usage `basename $0`
exit 0
fi
Expand All @@ -159,7 +159,7 @@ SCRIPT_ARGS="$*"
# Find the args required to determine the WLST script to run
#

while [[ $# > 1 ]]; do
while [ "$#" -gt "1" ]; do
key="$1"
case $key in
-help)
Expand Down
4 changes: 2 additions & 2 deletions installer/src/main/bin/updateDomain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ esac
#
# Check to see if no args were given and print the usage message
#
if [[ $# = 0 ]]; then
if [ "$#" -eq "0" ]; then
usage `basename $0`
exit 0
fi
Expand All @@ -148,7 +148,7 @@ MIN_JDK_VERSION=7
# Find the args required to determine the WLST script to run
#

while [[ $# > 1 ]]; do
while [ "$#" -gt "1" ]; do
key="$1"
case $key in
-help)
Expand Down
4 changes: 2 additions & 2 deletions installer/src/main/bin/validateModel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ fi
#
# Check to see if no args were given and print the usage message
#
if [[ $# = 0 ]]; then
if [ "$#" -eq "0" ]; then
usage `basename $0`
exit 0
fi
Expand All @@ -170,7 +170,7 @@ SCRIPT_ARGS="$*"
# Find the args required to determine the WLST script to run
#

while [[ $# > 1 ]]; do
while [ "$#" -gt "1" ]; do
key="$1"
case $key in
-help)
Expand Down
2 changes: 1 addition & 1 deletion samples/docker-domain/container-scripts/setEnv.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash ex
#!/bin/sh ex

# Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
# The Universal Permissive License (UPL), Version 1.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
#
#Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
#
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
#
#Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
#
Expand Down
4 changes: 2 additions & 2 deletions samples/docker-domain/container-scripts/waitForAdminServer.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
#
#Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
#
Expand All @@ -12,7 +12,7 @@ while :
do
(echo > /dev/tcp/$ADMIN_HOST/$ADMIN_PORT) >/dev/null 2>&1
available=$?
if [[ $available -eq 0 ]]; then
if [ "$available" -eq "0" ]; then
echo "WebLogic Admin Server is now available. Proceeding..."
break
fi
Expand Down