Skip to content

Commit 160fab9

Browse files
changing script to require bash (#2926)
* changing script to require bash * switching from bash back to sh to support base images without bash for auxiliary images
1 parent c0136fe commit 160fab9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

operator/src/main/resources/scripts/auxImage.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/bin/sh
2-
2+
# Copyright (c) 2021, 2022, Oracle and/or its affiliates.
3+
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl.
4+
#
35
# Init container script for the auxiliary image feature.
46
# See 'domain.spec.serverPod.auxiliaryImages' for details.
57

@@ -24,7 +26,7 @@ scriptDir="$( cd "$(dirname "$0")" > /dev/null 2>&1 ; pwd -P )"
2426

2527
if [ "${debug}" == "true" ]; then set -x; fi;
2628

27-
source ${scriptDir}/utils_base.sh
29+
. ${scriptDir}/utils_base.sh
2830
[ $? -ne 0 ] && echo "[SEVERE] Missing file ${scriptDir}/utils_base.sh" && exit 1
2931
UNKNOWN_SHELL=true
3032

0 commit comments

Comments
 (0)