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

@@ -12,6 +12,9 @@ PKGVERSION=`echo $5 | sed "s/-/\\./g"`
sed -i "s/pkgver=[0-9\\.]\+/pkgver=$PKGVERSION/" PKGBUILD
makepkg --holdver
if [ $? -ne 0 ]; then
exit 1
fi
PACKAGEFILE="openra-git-$PKGVERSION-1-any.pkg.tar.xz"