[debhelper-devel] [debhelper] 02/03: Use POSIX compliant find syntax

Niels Thykier nthykier at moszumanska.debian.org
Wed May 20 20:20:26 UTC 2015


This is an automated email from the git hooks/post-receive script.

nthykier pushed a commit to branch master
in repository debhelper.

commit 3a38157f03aaf714809de88173a8ce67ca628594
Author: Osamu Aoki <osamu at debian.org>
Date:   Sun May 10 09:18:21 2015 +0900

    Use POSIX compliant find syntax
    
    expr1 -or expr2
           Same as expr1 -o expr2, but not POSIX compliant.
    
    Signed-off-by: Niels Thykier <niels at thykier.net>
---
 dh_compress | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dh_compress b/dh_compress
index 0716fdd..ee51322 100755
--- a/dh_compress
+++ b/dh_compress
@@ -112,8 +112,8 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
 				2>/dev/null || true;
 			find usr/share/doc \\
 				\\( -type d -name _sources -prune -false \\) -o \\
-				-type f \\( -size +4k -or -name "changelog*" -or -name "NEWS*" \\) \\
-				\\( -name changelog.html -or ! -iname "*.htm*" \\) \\
+				-type f \\( -size +4k -o -name "changelog*" -o -name "NEWS*" \\) \\
+				\\( -name changelog.html -o ! -iname "*.htm*" \\) \\
 				! -iname "*.xhtml" \\
 				! -iname "*.gif" ! -iname "*.png" ! -iname "*.jpg" \\
 				! -iname "*.jpeg" ! -iname "*.gz" ! -iname "*.taz" \\

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debhelper/debhelper.git




More information about the debhelper-devel mailing list