tzwrapper.cc: fixed use of iterator after erase
[barry.git] / maintainer / test-root.sh
blob73b6c37cd0841604bc12e2a452ff882f07a1bbe6
1 #!/bin/bash
3 if [ -z "$1" -o -z "$2" -o -z "$3" ] ; then
4 echo
5 echo "Do not call test-root.sh directly. Call test.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=test
16 # Make sure it compiles cleanly on all handy systems
17 if [ -f ~/.barrychroots ] ; then
18 . ~/.barrychroots
19 else
20 . barrychroots