summaryrefslogtreecommitdiff
path: root/scripts/update-patches
diff options
context:
space:
mode:
authorThorsten Glaser <tg@mirbsd.org>2014-05-03 13:01:07 (GMT)
committerWaldemar Brodkorb <wbx@openadk.org>2014-05-03 13:02:32 (GMT)
commite8b64ae830c3b612899c496317329f09ab31e703 (patch)
tree11c12b5250f6ff32fd09602f4ef75facc5ae415b /scripts/update-patches
parentb66aa23b5661650340eadfb619d305989f7f8eec (diff)
quote more for “evil” eval
Signed-off-by: Thorsten Glaser <tg@mirbsd.org>
Diffstat (limited to 'scripts/update-patches')
-rw-r--r--scripts/update-patches2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/update-patches b/scripts/update-patches
index 438cba2..3d5424f 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"