summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2021-03-02 10:09:42 -0500
committerJim Hahn <jrh3@att.com>2021-03-02 11:03:00 -0500
commit1e026920a11f1194f8cb7d353a9681694319c697 (patch)
tree7fcf63f053e7de82d2906cdbde4d9e970e9e6bad /packages
parent396ec5a11f97a11a2fcb3001f68aa73954ce6cb9 (diff)
Add quotes around variable in db script
Apparently, ash doesn't like "[ -z ${xxx} ]" if the content of $xxx contains spaces. Added quotes around ${xxx}. Also fixed: - a couple of "[" "]" mismatches - a logic error in the selection of upgrade scripts Issue-ID: POLICY-3117 Change-Id: I99c977825fe9df8a44c288b6307cd3e55c504f86 Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'packages')
-rw-r--r--packages/docker/src/main/docker/pdpd-entrypoint.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/docker/src/main/docker/pdpd-entrypoint.sh b/packages/docker/src/main/docker/pdpd-entrypoint.sh
index 56b53e3e..e12f7d5b 100644
--- a/packages/docker/src/main/docker/pdpd-entrypoint.sh
+++ b/packages/docker/src/main/docker/pdpd-entrypoint.sh
@@ -1,7 +1,7 @@
#!/usr/bin/env ash
# ########################################################################
-# Copyright 2019-2020 AT&T Intellectual Property. All rights reserved
+# Copyright 2019-2021 AT&T Intellectual Property. All rights reserved
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -205,7 +205,7 @@ function start {
}
function configure {
- if [ "${DEBUG}" = "y" ]]; then
+ if [ "${DEBUG}" = "y" ]; then
echo "-- configure --"
set -x
fi