mirror of
https://github.com/moparisthebest/pacman
synced 2024-08-13 17:03:46 -04:00
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>
This commit is contained in:
parent
0b8abf376f
commit
b3f4bd9750
@ -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*})"
|
||||
|
Loading…
Reference in New Issue
Block a user