X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=doc%2Fmanual%2Fmake-tempfiles.sh;h=aac4bb1218860a8eacb8cf84d14ca5d1ff0f65b0;hb=54752bdd733ae3127d6dca2cc9a16413bf0126f3;hp=2f7fc3834e3f6548e60a32cfb3d09f186cc17eac;hpb=74476aa8940b2b2bc98ba46003a37ab558f608af;p=sbcl.git diff --git a/doc/manual/make-tempfiles.sh b/doc/manual/make-tempfiles.sh index 2f7fc38..aac4bb1 100644 --- a/doc/manual/make-tempfiles.sh +++ b/doc/manual/make-tempfiles.sh @@ -21,7 +21,7 @@ then sbclsystem=$SBCL_PWD/../../src/runtime/sbcl sbclcore=$SBCL_PWD/../../output/sbcl.core - if [ -e $sbclsystem ] && [ -e $sbclcore ] + if [ -f $sbclsystem ] && [ -f $sbclcore ] then SBCLRUNTIME="$sbclsystem --core $sbclcore" SBCL_HOME=$SBCL_PWD/../../contrib/; export SBCL_HOME @@ -36,7 +36,7 @@ fi SBCL="$SBCLRUNTIME --noinform --no-sysinit --no-userinit --noprint --disable-debugger" # extract version and date -VERSION=`$SBCL --eval '(write-line (lisp-implementation-version))' --eval '(sb-ext:quit)'` +VERSION=`$SBCL --eval '(write-line (lisp-implementation-version))' --eval '(sb-ext:exit)'` MONTH=`date "+%Y-%m"` sed -e "s/@VERSION@/$VERSION/" \ @@ -62,13 +62,26 @@ $SBCL <