FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux Pacman Development

LinkBack Thread Tools
Old 04-06-2008, 12:24 PM
Allan McRae
Default 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>
contrib/pacdiff | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/contrib/pacdiff b/contrib/pacdiff
index 19a680f..6493649 100755
--- a/contrib/pacdiff
+++ b/contrib/pacdiff
@@ -20,7 +20,7 @@
# Original http://phraktured.net/config/bin/pacdiff

-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
echo "File: ${x%.pac*}"
chk="$(cmp $x ${x%.pac*})"

pacman-dev mailing list

Thread Tools

All times are GMT. The time now is 10:45 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org