3 if [ -z "$1" -o -z "$2" -o -z "$3" ] ; then
5 echo "Usage: ./tar-create.sh LOGICAL MAJOR MINOR"
7 echo "LOGICAL is the desired logical version number"
8 echo "MAJOR is the desired libmajor version number"
9 echo "MINOR is the desired libminor version number"
11 echo "This script expects a barry-\$LOGICAL.\$MAJOR.\$MINOR directory"
12 echo "to exist in the directory it is run in."
17 DIRNAME
="barry-$1.$2.$3"
24 # Create official release tarball
25 tar -cvf - $DIRNAME |
bzip2 -9c > barry-
$LOGICAL.
$MAJOR.
$MINOR.
tar.bz2