From e4b8f22762d69dc0f1f668d255774c2d8bf23162 Mon Sep 17 00:00:00 2001 From: xgaia Date: Mon, 2 May 2022 15:31:19 +0200 Subject: [PATCH] fix: quote crudini args to pass value with spaces --- virtuoso.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/virtuoso.sh b/virtuoso.sh index bb779e1..57f6e60 100755 --- a/virtuoso.sh +++ b/virtuoso.sh @@ -16,7 +16,7 @@ do key=`echo "$setting" | egrep -o "_[^_]+=" | sed 's/[_=]//g'` value=`echo "$setting" | egrep -o "=.*$" | sed 's/^=//g'` echo "Registering $section[$key] to be $value" - crudini --set /data/virtuoso.ini $section $key $value + crudini --set /data/virtuoso.ini "$section" "$key" "$value" done # Set dba password