From e3e64bb4e7fb8b37af24dcc9912652e68b9c9a7d Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 27 Jul 2012 17:38:43 +0000 Subject: =?UTF-8?q?sync=20brp-compress=20with=20upstream=20rpm.org:=20Avoi?= =?UTF-8?q?d=20some=20unnecessary=20command=20invocations=20in=20scripts.?= =?UTF-8?q?=20(Ville=20Skytt=C3=A4=20=20=202010-02-03?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- brp-compress | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'brp-compress') diff --git a/brp-compress b/brp-compress index 6912d66..25873ca 100755 --- a/brp-compress +++ b/brp-compress @@ -19,10 +19,9 @@ for d in ./usr/man/man* ./usr/man/*/man* ./usr/info \ ./usr/share/doc/*/man/man* ./usr/lib/*/man/man* do [ -d $d ] || continue - for f in `find $d -type f` + for f in `find $d -type f ! -name dir` do [ -f "$f" ] || continue - [ "`basename $f`" = "dir" ] && continue case "$f" in *.Z) gunzip $f; b=`echo $f | sed -e 's/\.Z$//'`;; -- cgit v1.2.1