summaryrefslogtreecommitdiffstats
path: root/crtSignedContainer.sh
diff options
context:
space:
mode:
authorDave Heller <hellerda@us.ibm.com>2017-10-18 08:38:34 -0400
committerDave Heller <hellerda@us.ibm.com>2017-10-18 08:38:34 -0400
commite928550e1687764d9c23a15142d9109c1f8766fb (patch)
tree71f71722c97f22ee29b66e5d60845cddbe41d412 /crtSignedContainer.sh
parentf7e9cc46b4b2e75a7a79661ddc20124581a61c34 (diff)
downloadsb-signing-utils-e928550e1687764d9c23a15142d9109c1f8766fb.tar.gz
sb-signing-utils-e928550e1687764d9c23a15142d9109c1f8766fb.zip
Use eval instead of declare in bash
Signed-off-by: Dave Heller <hellerda@us.ibm.com>
Diffstat (limited to 'crtSignedContainer.sh')
-rwxr-xr-xcrtSignedContainer.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/crtSignedContainer.sh b/crtSignedContainer.sh
index b7b628a..afced54 100755
--- a/crtSignedContainer.sh
+++ b/crtSignedContainer.sh
@@ -195,7 +195,7 @@ parseIni () {
elif test -n "$value"
then
# This is a property, set it
- declare -g "${section}_${property}=$value"
+ eval "${section}_${property}=\"$value\""
fi
done < "$1"
}
OpenPOWER on IntegriCloud