Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/contrib/pacdiff
diff options
context:
space:
mode:
authorAllan McRae <allan.mcrae@qimr.edu.au>2008-04-06 22:24:29 +1000
committerDan McGee <dan@archlinux.org>2008-04-06 10:44:44 -0500
commitb3f4bd9750821787d179340b0d1c7a5490276c10 (patch)
treefec961de150726ecc42ec49691f5e3a4fb9f38d1 /contrib/pacdiff
parent0b8abf376f4a34d18aed450642284d9410522667 (diff)
Quote filenames in find expression in pacdiff
From 41cc28f560bf9843d81ce5fb62b884b6325d06a0 Mon Sep 17 00:00:00 2001 From: Allan McRae <mcrae_allan@hotmail.com> Date: Sun, 6 Apr 2008 22:18:06 +1000 Subject: [PATCH] Quote filenames in find expression in pacdiff Small patch to allow pacdiff to run in /etc. See FS#10090. Signed-off-by: Allan McRae <mcrae_allan@hotmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'contrib/pacdiff')
-rwxr-xr-xcontrib/pacdiff2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/pacdiff b/contrib/pacdiff
index 19a680f1..64936491 100755
--- a/contrib/pacdiff
+++ b/contrib/pacdiff
@@ -20,7 +20,7 @@
# Original http://phraktured.net/config/bin/pacdiff
diffprog=${DIFFPROG:-vimdiff}
-for x in $(find /etc/ -name *.pacnew -o -name *.pacorig -o -name *.pacsave)
+for x in $(find /etc/ -name "*.pacnew" -o -name "*.pacorig" -o -name "*.pacsave")
do
echo "File: ${x%.pac*}"
chk="$(cmp $x ${x%.pac*})"