summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorThorsten Glaser <tg@mirbsd.org>2014-05-03 13:01:07 +0000
committerWaldemar Brodkorb <wbx@openadk.org>2014-05-03 15:02:32 +0200
commite8b64ae830c3b612899c496317329f09ab31e703 (patch)
tree11c12b5250f6ff32fd09602f4ef75facc5ae415b /scripts
parentb66aa23b5661650340eadfb619d305989f7f8eec (diff)
quote more for “evil” eval
Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/update-patches2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/update-patches b/scripts/update-patches
index 438cba2e1..3d5424ff0 100644
--- a/scripts/update-patches
+++ b/scripts/update-patches
@@ -157,7 +157,7 @@ while IFS= read -p -d '' -r file; do
# did it change? mark it as changed
tfile=$(print -r -- "$file" | $TRANSFORM)
if eval diff "$(print -r -- "${DIFF_FLAGS}" | sed \
- "s#@@#${tfile}#g")" "$i" "$i.new" 1>&2; then
+ "s#@@#${tfile}#g")" '"$i" "$i.new"' 1>&2; then
rm "$i.new"
else
print -ru2 -- "Patch $i for $file updated"