aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorshaoqiu <tim.huang@est.tech>2019-06-28 05:45:55 +0000
committershaoqiu <tim.huang@est.tech>2019-06-28 05:45:55 +0000
commit7783a2ef0d71c6379a1d53258cd3c01eba391210 (patch)
treea21ebc8eff140394df613452c16054e3b7ac8675 /packages
parent4429dc73ff9560ac6531bb6a58cbc9e2254325bc (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: Ie7c37a07dfc33f6b6bca70d9f9c2cb4cfb3377f5 Signed-off-by: shaoqiu <tim.huang@est.tech>
Diffstat (limited to 'packages')
-rw-r--r--packages/policy-distribution-docker/src/main/docker/policy-dist.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/policy-distribution-docker/src/main/docker/policy-dist.sh b/packages/policy-distribution-docker/src/main/docker/policy-dist.sh
index 4f523b97..3a559f34 100644
--- a/packages/policy-distribution-docker/src/main/docker/policy-dist.sh
+++ b/packages/policy-distribution-docker/src/main/docker/policy-dist.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 distribution 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.distribution.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.distribution.main.startstop.Main -c $CONFIG_FILE