1.0.10.27: Change unportable find option "-path"
authorNIIMI Satoshi <sa2c@users.sourceforge.net>
Fri, 5 Oct 2007 11:30:20 +0000 (11:30 +0000)
committerNIIMI Satoshi <sa2c@users.sourceforge.net>
Fri, 5 Oct 2007 11:30:20 +0000 (11:30 +0000)
The find option "-path" is not portable.  Use "-prune" not to
recurse into CVS directory.

binary-distribution.sh
version.lisp-expr

index c92a323..6bb1768 100755 (executable)
@@ -20,6 +20,6 @@ tar -cf $b-binary.tar \
     $b/contrib/vanilla-module.mk \
     `for dir in $b/contrib/*; do
          if test -d $dir && test -f $dir/test-passed; then
-             find $dir -not -type d -not -name '.cvsignore' -not -path '*/CVS*' -print
+             find $dir -name CVS -type d -prune -o -not -type d -not -name '.cvsignore' -print
          fi
      done`
index 2def3a3..693df37 100644 (file)
@@ -17,4 +17,4 @@
 ;;; checkins which aren't released. (And occasionally for internal
 ;;; versions, especially for internal versions off the main CVS
 ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"1.0.10.26"
+"1.0.10.27"