Skip to content

Commit 61b3c81

Browse files
author
Tom Barnes
committed
Fix create script problem that occurs on some linux boxes.
1 parent a17f138 commit 61b3c81

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

kubernetes/create-weblogic-domain.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#
1616

1717
script="${BASH_SOURCE[0]}"
18-
scriptDir="$( cd "$( dirname "${script}" )" && pwd )"
18+
scriptDir="$( cd "$(dirname "${script}")" > /dev/null 2>&1 ; pwd -P)"
1919
internalDir="${scriptDir}/internal"
2020

2121
# This is the script that the customers use to create a domain.

kubernetes/create-weblogic-operator.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Licensed under the Universal Permissive License v 1.0 as shown at http://oss.oracle.com/licenses/upl.
44

55
script="${BASH_SOURCE[0]}"
6-
scriptDir="$( cd "$( dirname "${script}" )" && pwd )"
6+
scriptDir="$( cd "$(dirname "${script}")" > /dev/null 2>&1 ; pwd -P)"
77
internalDir="${scriptDir}/internal"
88

99
# This is the script that the customers use to create an operator.

0 commit comments

Comments
 (0)