X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=binary-distribution.sh;fp=binary-distribution.sh;h=dea1fc8ad4aeb22d008bc60ba98456527a0b941f;hb=ecebde418ab9dbd66ef4729c5c04242c57a8c1e6;hp=234cc4f035a31fa3f28eb4b5e688a195810f7ee5;hpb=25c1769e30ff7404b52a9be663626d87f8ff75bc;p=sbcl.git diff --git a/binary-distribution.sh b/binary-distribution.sh index 234cc4f..dea1fc8 100755 --- a/binary-distribution.sh +++ b/binary-distribution.sh @@ -10,6 +10,7 @@ set -e # switched over to trying to do this the way everyone else does.) b=${1:?"missing base directory name argument"} + tar -cf $b-binary.tar \ $b/output/sbcl.core $b/src/runtime/sbcl $b/output/prefix.def \ $b/BUGS $b/COPYING $b/CREDITS $b/INSTALL $b/NEWS $b/README \ @@ -18,8 +19,10 @@ tar -cf $b-binary.tar \ $b/pubring.pgp \ $b/contrib/asdf-module.mk \ $b/contrib/vanilla-module.mk \ - `for dir in $b/contrib/*; do - if test -d $dir && test -f $dir/test-passed; then - find $dir -name CVS -type d -prune -o \! -type d \! -name '.cvsignore' -print + `for contrib in $(cd $b/contrib && echo *); do + src_dir=$b/contrib/$contrib + if test -d $src_dir && test -f $obj_dir/test-passed.test-report; then + find $src_dir -name CVS -type d -prune -o \! -type d \! -name '.cvsignore' -print fi - done` + done` \ + $b/obj/sbcl-home