checkout-and-build script updated.

This commit is contained in:
Matthew Bowra-Dean
2010-11-21 17:33:15 +13:00
parent cf26e4aa8a
commit 3a2a6c231e

View File

@@ -53,18 +53,22 @@ if [ $? -ne 0 ]; then
exit 1 exit 1
fi fi
echo $TAG > "VERSION" #echo $TAG > "VERSION"
msg "\E[32m" "Starting make..." #msg "\E[32m" "Starting make..."
make prefix=/usr DESTDIR=../built install #make prefix=/usr DESTDIR=../built install
if [ $? -ne 0 ]; then #if [ $? -ne 0 ]; then
msg "\E[31m" "Build failed." # msg "\E[31m" "Build failed."
exit 1 # exit 1
fi #fi
pushd packaging &> /dev/null pushd packaging &> /dev/null
./package-all.sh $TAG $2 $3 if [ ! -d ~/openra-package/packages/ ] ; then
mkdir ~/openra-package/packages/
fi
./package-all.sh $VERSION ~/openra-package/packages/
popd &> /dev/null # packaging popd &> /dev/null # packaging
popd &> /dev/null # $_gitname-build popd &> /dev/null # $_gitname-build