3 version
=`sed -n -e 's/.*JIM_VERSION *\([0-9]*\).*/0.\1/p' jim.h`
5 if [ `git clean -nqx | wc -l` -ne 0 ]; then
7 echo "***: Tree not clean"
10 if [ `git status | grep modified: | wc -l` -ne 0 ]; then
12 echo "***: Modified files exist"
16 rsync
--exclude=.git
--exclude=jimtcl-
$version -a .
/ jimtcl-
$version/
17 tar -czf jimtcl-
$version.
tar.gz jimtcl-
$version
18 rm -rf jimtcl-
$version
19 ls -l jimtcl-
$version.
tar.gz