diff options
author | Dave Heller <hellerda@us.ibm.com> | 2017-10-18 08:38:34 -0400 |
---|---|---|
committer | Dave Heller <hellerda@us.ibm.com> | 2017-10-18 08:38:34 -0400 |
commit | e928550e1687764d9c23a15142d9109c1f8766fb (patch) | |
tree | 71f71722c97f22ee29b66e5d60845cddbe41d412 /crtSignedContainer.sh | |
parent | f7e9cc46b4b2e75a7a79661ddc20124581a61c34 (diff) | |
download | sb-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-x | crtSignedContainer.sh | 2 |
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" } |