doc: updated Fedora's RPM git repo URL
[barry.git] / maintainer / rpmroot.sh
blob799677c2e0bbd141c5a0d08a06dd5906c7434e4c
1 #!/bin/sh
3 if [ -z "$1" -o -z "$2" -o -z "$BARRYTARBALL" -o -z "$THESPEC" ] ; then
4 echo
5 echo "Do not call rpmroot.sh directly. Call release.sh instead."
6 echo
7 exit 1
8 fi
10 CHROOTTARGET="$1"
11 TAG="$2"
13 if [ "$THEMODE" = "release" ] ; then
14 ./make-rpm.sh "$BARRYTARBALL" "$THESPEC" "$CHROOTTARGET" "$TAG"
15 elif [ "$THEMODE" = "test" ] ; then
16 ./test-build.sh "$BARRYTARBALL" "$CHROOTTARGET"
17 else
18 echo
19 echo "Mode not set. Call release.sh or test.sh instead."
20 echo
21 exit 1