diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/conf.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/conf.sh b/src/lib/conf.sh index 2dc5b70..8b855fe 100644 --- a/src/lib/conf.sh +++ b/src/lib/conf.sh @@ -144,7 +144,7 @@ set_conf_makepkg() { for file in $(list_files makepkg|tac); do if [[ -w $file ]]; then sed -i "/^\s*$key=/d" "$file" - echo "$key='$val'" >> "$file" + printf '%s=%q\n' "$key" "$val" >> "$file" return 0 fi done |