commit | 134188daef48f9c1fadad5b26b4fb1e6417e4304 | [log] [tgz] |
---|---|---|
author | Guillaume Lambert <guillaume.lambert@orange.com> | Thu Mar 11 13:42:23 2021 +0100 |
committer | Guillaume Lambert <guillaume.lambert@orange.com> | Wed Jun 16 17:31:03 2021 +0000 |
tree | 05c74c5b3dee688de0d52e616a5f286a27955081 | |
parent | f11d35a6320c98785c6c2ec2a84c8a2988a4b732 [diff] [blame] |
[COMMON] Fix $BASH_SOURCE and pushd/popd bashisms pointed out by checkbashisms. Issue-ID: OOM-2643 Signed-off-by: Guillaume Lambert <guillaume.lambert@orange.com> Change-Id: Ic9c4edc0fc6bd94a95bcb85d84379e868fb09930
diff --git a/kubernetes/common/cassandra/resources/config/docker-entrypoint.sh b/kubernetes/common/cassandra/resources/config/docker-entrypoint.sh index 5b65222..64c7daa 100644 --- a/kubernetes/common/cassandra/resources/config/docker-entrypoint.sh +++ b/kubernetes/common/cassandra/resources/config/docker-entrypoint.sh
@@ -11,7 +11,7 @@ if [ "$1" = 'cassandra' -a "$(id -u)" = '0' ]; then find /var/lib/cassandra /var/log/cassandra "$CASSANDRA_CONFIG" \ \! -user cassandra -exec chown cassandra '{}' + - exec gosu cassandra "$BASH_SOURCE" "$@" + exec gosu cassandra "$0" "$@" fi _ip_address() {