0.pre8.50
[sbcl.git] / binary-distribution.sh
index 0bd5557..90e402c 100755 (executable)
@@ -9,7 +9,7 @@
 # a tar file with no directory prefixes. Since sbcl-0.6.10, we've
 # switched over to trying to do this the way everyone else does.)
 
-b=${1:?missing base directory name argument}
+b=${1:?"missing base directory name argument"}
 tar -cf $b-binary.tar \
     $b/output/sbcl.core $b/src/runtime/sbcl \
     $b/BUGS $b/COPYING $b/CREDITS $b/INSTALL $b/NEWS $b/README \
@@ -18,7 +18,7 @@ tar -cf $b-binary.tar \
     $b/pubring.pgp \
     $b/contrib/vanilla-module.mk \
     `for dir in $b/contrib/*; do 
-         if test -d $dir && test -e $dir/Makefile; then 
+         if test -d $dir && test -f $dir/test-passed; then 
              echo $dir
          fi
      done`