lib: added BuildHeader / BuildFields member functions
[barry.git] / maintainer / release-root.sh
blob7eea0b44ee4ba556195b4db7bc8ced0fcc7b96fd
1 #!/bin/sh
3 if [ -z "$1" -o -z "$2" -o -z "$3" -o -z "$4" ] ; 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.$3.tar.bz2
13 export THESPEC=build/barry-$1.$2.$3/rpm/barry.spec
14 export THEMODE=release
15 export CHOWNUSER="$4"
17 if [ -f ~/.barrychroots ] ; then
18 . ~/.barrychroots
19 else
20 . barrychroots