summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>1998-05-11 18:52:24 (GMT)
committerFred Drake <fdrake@acm.org>1998-05-11 18:52:24 (GMT)
commitf2fa1e2afed1963670821884af67576fb933f92e (patch)
tree2c81e59591ce27cf231fd7af96e0e6b85eac0eee /Doc
parent323dc70de5fc3daedcdb7e15cded576b5cddeecc (diff)
downloadcpython-f2fa1e2afed1963670821884af67576fb933f92e.zip
cpython-f2fa1e2afed1963670821884af67576fb933f92e.tar.gz
cpython-f2fa1e2afed1963670821884af67576fb933f92e.tar.bz2
Accept the release number on the command line instead of hardcoding it.
Diffstat (limited to 'Doc')
-rwxr-xr-xDoc/tools/mktarball.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/tools/mktarball.sh b/Doc/tools/mktarball.sh
index cd8bd8f..0475081 100755
--- a/Doc/tools/mktarball.sh
+++ b/Doc/tools/mktarball.sh
@@ -5,14 +5,14 @@
# from the Makefile or someplace.
#
# usage:
-# ./mktarball.sh [tag]
+# ./mktarball.sh release [tag]
#
# without [tag]: generate from the current version that's checked in
# (*NOT* what's in the current directory!)
#
# with [tag]: generate from the named tag
-RELEASE=1.5.1
+RELEASE=$1; shift
TEMPDIR=tmp.$$
MYDIR=`pwd`
@@ -28,7 +28,7 @@ else
rm -r `find $TEMPDIR -name CVS -print` || exit $?
fi
-rm -f `find $TEMPDIR/Python-$RELEASE -name .cvsignore -print`
+rm -f `find $TEMPDIR -name .cvsignore -print`
rm -f $TEMPDIR/Python-$RELEASE/Doc/ref/ref.pdf
rm -f $TEMPDIR/Python-$RELEASE/Doc/ref/ref.ps