lib: show offset and rectype in HexDumpParser
[barry.git] / maintainer / deb.sh
blob8695b1f91b3f0cd17313329012275fcef128857d
1 #!/bin/sh
3 if [ -z "$1" -o -z "$2" -o -z "$BARRYTARBALL" ] ; then
4 echo
5 echo "Do not call deb.sh directly. Call release.sh instead."
6 echo
7 exit 1
8 fi
10 CHROOTTARGET="$1"
11 TAG="$2"
12 # optional... may not always exist
13 DEBTARGETS="$3"
15 if [ "$THEMODE" = "release" ] ; then
16 ./make-deb.sh "$BARRYTARBALL" "$CHROOTTARGET" "$TAG" "$DEBTARGETS"
17 elif [ "$THEMODE" = "test" ] ; then
18 ./test-build.sh "$BARRYTARBALL" "$CHROOTTARGET"
19 else
20 echo
21 echo "Mode not set. Call release.sh or test.sh instead."
22 echo
23 exit 1