Add quotes around variable in db script 96/118696/2
authorJim Hahn <jrh3@att.com>
Tue, 2 Mar 2021 15:09:42 +0000 (10:09 -0500)
committerJim Hahn <jrh3@att.com>
Tue, 2 Mar 2021 16:03:00 +0000 (11:03 -0500)
commit1e026920a11f1194f8cb7d353a9681694319c697
tree7fcf63f053e7de82d2906cdbde4d9e970e9e6bad
parent396ec5a11f97a11a2fcb3001f68aa73954ce6cb9
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>
packages/docker/src/main/docker/pdpd-entrypoint.sh
policy-management/src/main/server-gen/bin/db-migrator