X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=source-distribution.sh;h=4b77e3a90effafb59a9ff96f24ea2599dc49656e;hb=04b902c7279d7f9e5fa75bccca2e26a002544eca;hp=748c082030b5aebf09b34d560d2e822b0c207304;hpb=b8f63d9b4e978bec3bfc1f4fc471e5ed946781fd;p=sbcl.git diff --git a/source-distribution.sh b/source-distribution.sh index 748c082..4b77e3a 100755 --- a/source-distribution.sh +++ b/source-distribution.sh @@ -1,6 +1,7 @@ #!/bin/sh +set -e # Create a source distribution. (You should run clean.sh first.) -b=${1:?missing base directory name argument} -tar cf $b-source.tar $b +b=${1:?"missing base directory name argument"} +tar cf $b-source.tar --exclude .git $b