diff --git a/mktdir b/mktdir new file mode 100755 index 0000000..2ca7103 --- /dev/null +++ b/mktdir @@ -0,0 +1,16 @@ +#!/bin/sh + +FILES="Makefile tdir.1 tdir.py tdir.bat tdir-license.txt" +DIR="tdir-"$1 + +if [ $# -ne 1 ] + then + echo "usage: mktdir version-number" + exit +fi + +mkdir $DIR +co -r$1 $FILES +mv $FILES $DIR +tar -czvf $DIR.tar.gz $DIR +rm -rf $DIR \ No newline at end of file