lib: show offset and rectype in HexDumpParser
[barry.git] / maintainer / tar-create.sh
bloba3ca0ab5db973fe02c2e70bcee6a30cd88051c17
1 #!/bin/sh
3 if [ -z "$1" -o -z "$2" -o -z "$3" ] ; then
4 echo
5 echo "Usage: ./tar-create.sh LOGICAL MAJOR MINOR"
6 echo
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"
10 echo
11 echo "This script expects a barry-\$LOGICAL.\$MAJOR.\$MINOR directory"
12 echo "to exist in the directory it is run in."
13 echo
14 exit 1
17 DIRNAME="barry-$1.$2.$3"
18 LOGICAL="$1"
19 MAJOR="$2"
20 MINOR="$3"
22 set -e
24 # Create official release tarball
25 tar -cvf - $DIRNAME | bzip2 -9c > barry-$LOGICAL.$MAJOR.$MINOR.tar.bz2