[cmucl-commit] [git] CMU Common Lisp branch rearrange-dir updated. release-20c-21-g667a476
Raymond Toy
rtoy at common-lisp.net
Mon Nov 7 04:13:20 CET 2011
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMU Common Lisp".
The branch, rearrange-dir has been updated
via 667a476adeae105dd8b712a14d4e136f58e5810d (commit)
from 26f37caf6696a9a8816c5872526c88d94845c187 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 667a476adeae105dd8b712a14d4e136f58e5810d
Author: Raymond Toy <toy.raymond at gmail.com>
Date: Sun Nov 6 19:13:00 2011 -0800
Don't add .git directory to src tarball! If compression or version is
not given, use some reasonable default so we don't end up with a weird
tarball.
diff --git a/bin/make-src-dist.sh b/bin/make-src-dist.sh
index f19dae2..a65aad8 100755
--- a/bin/make-src-dist.sh
+++ b/bin/make-src-dist.sh
@@ -25,7 +25,18 @@ done
shift `expr $OPTIND - 1`
-VERSION=$1
+# If no compression given, default to gzip (on the assumption that
+# that is available everywhere.)
+if [ -z "$ENABLE_BZIP" -a -z "$ENABLE_GZIP" ]; then
+ ENABLE_GZIP=-b
+fi
+
+# If no version is given, default to today's date
+if [ -n "$1" ]; then
+ VERSION=$1
+else
+ VERSION="`date '+%Y-%m-%d-%H:%M:%S'`"
+fi
echo Creating source distribution
if [ -n "$ENABLE_GZIP" ]; then
@@ -37,7 +48,7 @@ if [ -n "$ENABLE_BZIP" ]; then
ZIPEXT="bz2"
fi
-GTAR_OPTIONS="--exclude=CVS --exclude='*.pot.~*~'"
+GTAR_OPTIONS="--exclude=.git --exclude='*.pot.~*~'"
if [ -z "$INSTALL_DIR" ]; then
echo " Compressing with $ZIP"
${GTAR:-tar} ${GTAR_OPTIONS} -cf - src | ${ZIP} > cmucl-src-$VERSION.tar.$ZIPEXT
-----------------------------------------------------------------------
Summary of changes:
bin/make-src-dist.sh | 15 +++++++++++++--
1 files changed, 13 insertions(+), 2 deletions(-)
hooks/post-receive
--
CMU Common Lisp
More information about the cmucl-commit
mailing list