summaryrefslogtreecommitdiff
path: root/scripts/update-patches
diff options
context:
space:
mode:
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 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"