From c6c180c35df386e4027c1eca2b87dd8515e8bc02 Mon Sep 17 00:00:00 2001 From: Yatsishin Ilya <2159081+qoega@users.noreply.github.com> Date: Fri, 21 May 2021 17:33:56 +0300 Subject: [PATCH] fix shellcheck --- .../test/integration/runner/misc/zookeeper-ssl-entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/test/integration/runner/misc/zookeeper-ssl-entrypoint.sh b/docker/test/integration/runner/misc/zookeeper-ssl-entrypoint.sh index 3ddb21881d6..9748a5e8ce9 100755 --- a/docker/test/integration/runner/misc/zookeeper-ssl-entrypoint.sh +++ b/docker/test/integration/runner/misc/zookeeper-ssl-entrypoint.sh @@ -81,8 +81,8 @@ if [[ ! -f "$ZOO_DATA_DIR/myid" ]]; then echo "${ZOO_MY_ID:-1}" > "$ZOO_DATA_DIR/myid" fi -mkdir -p $(dirname $ZOO_SSL_KEYSTORE_LOCATION) -mkdir -p $(dirname $ZOO_SSL_TRUSTSTORE_LOCATION) +mkdir -p "$(dirname $ZOO_SSL_KEYSTORE_LOCATION)" +mkdir -p "$(dirname $ZOO_SSL_TRUSTSTORE_LOCATION)" if [[ ! -f "$ZOO_SSL_KEYSTORE_LOCATION" ]]; then keytool -genkeypair -alias zookeeper -keyalg RSA -validity 365 -keysize 2048 -dname "cn=zookeeper" -keypass password -keystore $ZOO_SSL_KEYSTORE_LOCATION -storepass password -deststoretype pkcs12