summaryrefslogtreecommitdiffstats
path: root/packages/policy-api-docker/src
diff options
context:
space:
mode:
authorshaoqiu <tim.huang@est.tech>2019-06-28 05:42:45 +0000
committershaoqiu <tim.huang@est.tech>2019-06-28 05:42:45 +0000
commit7baf805c53151aecd65a19cf44deaa35aadf577a (patch)
treec28a84b47f7184daf48e8ec0608084fdd6cbebc7 /packages/policy-api-docker/src
parent6a448cf02fddf90e46c1d21a54d8b96f9c41d021 (diff)
Add curly braces in shell script file
According to comment: https://gerrit.onap.org/r/c/policy/xacml-pdp/+/90495/1/packages/policy-xacmlpdp-docker/src/main/docker/policy-pdpx.sh#43 Issue-ID: POLICY-1702 Change-Id: I105fe178c9d724f6e443aa2cff49ae02c76b67ca Signed-off-by: shaoqiu <tim.huang@est.tech>
Diffstat (limited to 'packages/policy-api-docker/src')
-rw-r--r--packages/policy-api-docker/src/main/docker/policy-api.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/policy-api-docker/src/main/docker/policy-api.sh b/packages/policy-api-docker/src/main/docker/policy-api.sh
index 6acedb10..ff7f6b99 100644
--- a/packages/policy-api-docker/src/main/docker/policy-api.sh
+++ b/packages/policy-api-docker/src/main/docker/policy-api.sh
@@ -35,9 +35,9 @@ fi
if [ -z "$CONFIG_FILE" ]
then
- CONFIG_FILE="$POLICY_HOME/etc/defaultConfig.json"
+ CONFIG_FILE="${POLICY_HOME}/etc/defaultConfig.json"
fi
echo "Policy api config file: $CONFIG_FILE"
-$JAVA_HOME/bin/java -cp "$POLICY_HOME/etc:$POLICY_HOME/lib/*" -Djavax.net.ssl.keyStore="$KEYSTORE" -Djavax.net.ssl.keyStorePassword="$KEYSTORE_PASSWD" -Djavax.net.ssl.trustStore="$TRUSTSTORE" -Djavax.net.ssl.trustStorePassword="$TRUSTSTORE_PASSWD" org.onap.policy.api.main.startstop.Main -c $CONFIG_FILE
+$JAVA_HOME/bin/java -cp "${POLICY_HOME}/etc:${POLICY_HOME}/lib/*" -Djavax.net.ssl.keyStore="$KEYSTORE" -Djavax.net.ssl.keyStorePassword="$KEYSTORE_PASSWD" -Djavax.net.ssl.trustStore="$TRUSTSTORE" -Djavax.net.ssl.trustStorePassword="$TRUSTSTORE_PASSWD" org.onap.policy.api.main.startstop.Main -c $CONFIG_FILE