summaryrefslogtreecommitdiffstats
path: root/engine-d-standalone/src/main/assembly/bin/run.sh
diff options
context:
space:
mode:
Diffstat (limited to 'engine-d-standalone/src/main/assembly/bin/run.sh')
-rw-r--r--engine-d-standalone/src/main/assembly/bin/run.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine-d-standalone/src/main/assembly/bin/run.sh b/engine-d-standalone/src/main/assembly/bin/run.sh
index f565e2e..b7aea04 100644
--- a/engine-d-standalone/src/main/assembly/bin/run.sh
+++ b/engine-d-standalone/src/main/assembly/bin/run.sh
@@ -94,7 +94,7 @@ echo "KEY_PASS=$KEY_PASSWORD"
sed -i "s|keyStorePath:.*|keyStorePath: $KEY_PATH|" "$main_path/conf/engine-d.yml"
sed -i "s|keyStorePassword:.*|keyStorePassword: $KEY_PASSWORD|" "$main_path/conf/engine-d.yml"
-if [ ${ENABLE_ENCRYPT} = true ]; then
+if [ "${ENABLE_ENCRYPT}"x = "true"x ]; then
sed -i "s|type:\s*https\?$|type: https|" "$main_path/conf/engine-d.yml"
sed -i "s|#\?keyStorePath|keyStorePath|" "$main_path/conf/engine-d.yml"
sed -i "s|#\?keyStorePassword|keyStorePassword|" "$main_path/conf/engine-d.yml"