maint: overhaul of release / test build scripts
[barry.git] / maintainer / release-root.sh
blob283dbb24cce556f82b480c01532b87e4114d2ae9
1 #!/bin/sh
3 if [ -z "$1" -o -z "$2" ] ; then
4 echo
5 echo "Do not call release-root.sh directly. Call release.sh instead."
6 echo
7 exit 1
8 fi
10 set -e
12 export BARRYTARBALL=build/barry-$1.$2.tar.bz2
13 export THESPEC=build/barry-$1.$2/rpm/barry.spec
14 export THEMODE=release
16 if [ -f ~/.barrychroots ] ; then
17 . ~/.barrychroots
18 else
19 . barrychroots