From 134188daef48f9c1fadad5b26b4fb1e6417e4304 Mon Sep 17 00:00:00 2001 From: Guillaume Lambert Date: Thu, 11 Mar 2021 13:42:23 +0100 Subject: [COMMON] Fix $BASH_SOURCE and pushd/popd bashisms pointed out by checkbashisms. Issue-ID: OOM-2643 Signed-off-by: Guillaume Lambert Change-Id: Ic9c4edc0fc6bd94a95bcb85d84379e868fb09930 --- kubernetes/common/cassandra/resources/config/docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kubernetes/common/cassandra') diff --git a/kubernetes/common/cassandra/resources/config/docker-entrypoint.sh b/kubernetes/common/cassandra/resources/config/docker-entrypoint.sh index 5b652228a6..64c7daacbf 100644 --- a/kubernetes/common/cassandra/resources/config/docker-entrypoint.sh +++ b/kubernetes/common/cassandra/resources/config/docker-entrypoint.sh @@ -11,7 +11,7 @@ fi 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() { -- cgit 1.2.3-korg