diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-09-10 01:03:15 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-09-11 15:23:29 -0400 |
commit | dabf1a9cf520d725f8eb767bb0112990f99fde05 (patch) | |
tree | ff577a17fd2376bf5aecc29cd1a893d5c8da6693 | |
parent | 2c38dbeb2eea18be19ff13391a2069e37096ac71 (diff) |
conf.sh: touch up quoting
-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 |