From e928550e1687764d9c23a15142d9109c1f8766fb Mon Sep 17 00:00:00 2001 From: Dave Heller Date: Wed, 18 Oct 2017 08:38:34 -0400 Subject: Use eval instead of declare in bash Signed-off-by: Dave Heller --- crtSignedContainer.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crtSignedContainer.sh') 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" } -- cgit v1.2.1