menu: added new Keywords tag to .desktop files
[barry.git] / maintainer / rpm.sh
blob94ecd68cf54b7e299bf7a71a57b9b43bc806338a
1 #!/bin/bash
3 if [ -z "$1" -o -z "$2" -o -z "$BARRYTARBALL" -o -z "$THESPEC" ] ; then
4 echo
5 echo "Do not call rpm.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-user-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