summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-09-10 01:03:15 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-09-11 15:23:29 -0400
commitdabf1a9cf520d725f8eb767bb0112990f99fde05 (patch)
treeff577a17fd2376bf5aecc29cd1a893d5c8da6693 /src
parent2c38dbeb2eea18be19ff13391a2069e37096ac71 (diff)
conf.sh: touch up quoting
Diffstat (limited to 'src')
-rw-r--r--src/lib/conf.sh2
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