From: Todd C. Miller Date: Thu, 31 May 2012 18:00:38 +0000 (-0400) Subject: Fix find command to properly skip files in the DEBIAN dir when X-Git-Tag: SUDO_1_8_6^2~166 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8b38f45841ec5a11bbbac8afb605e582ab17e122;p=sudo Fix find command to properly skip files in the DEBIAN dir when building md5sums. --- diff --git a/pp b/pp index 8f04bedf3..ff8120129 100755 --- a/pp +++ b/pp @@ -1,6 +1,6 @@ #!/bin/sh # Copyright 2012 Quest Software, Inc. ALL RIGHTS RESERVED -pp_revision="356" +pp_revision="357" # Copyright 2012 Quest Software, Inc. ALL RIGHTS RESERVED. # # Redistribution and use in source and binary forms, with or without @@ -4141,7 +4141,7 @@ pp_deb_makedeb () { # Create md5sums pp_deb_make_md5sums $cmp `(cd $package_build_dir; - find . -type f -a -not -name DEBIAN | sed "s,^\./,,")` || + find . -name DEBIAN -prune -o -type f -print | sed "s,^\./,,")` || pp_die "Could not make DEBIAN md5sums for $cmp" }