]> granicus.if.org Git - sudo/commitdiff
Fix find command to properly skip files in the DEBIAN dir when
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 31 May 2012 18:00:38 +0000 (14:00 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 31 May 2012 18:00:38 +0000 (14:00 -0400)
building md5sums.

pp

diff --git a/pp b/pp
index 8f04bedf3014f8a8f4b00d8105875c71298239cf..ff81201292c77e4bb7f7f74d633e51dc83fdda71 100755 (executable)
--- 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"
 }