1.0.10.27: Change unportable find option "-path"
[sbcl.git] / binary-distribution.sh
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`