Skip to content

Commit

Permalink
Merge pull request #9 from xgaia/fix-crudini
Browse files Browse the repository at this point in the history
fix: quote crudini args to pass value with spaces
  • Loading branch information
xgaia authored May 2, 2022
2 parents 765ee9c + e4b8f22 commit 53ed471
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion virtuoso.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 53ed471

Please sign in to comment.