Increasing robustness of packaging script.

This commit is contained in:
Matthew
2010-08-16 01:02:38 +12:00
parent b4068f0ac7
commit d91a7c6b35
3 changed files with 79 additions and 29 deletions

View File

@@ -15,6 +15,9 @@ cp openra.spec "$6/SPECS/"
cd "$6"
rpmbuild --target noarch -bb SPECS/openra.spec
if [ $? -ne 0 ]; then
exit 1
fi
cd RPMS/noarch/
PACKAGEFILE=openra-$PKGVERSION-1.noarch.rpm