Skip to content

Commit

Permalink
checkout-and-build script updated.
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Bowra-Dean committed Nov 21, 2010
1 parent cf26e4a commit 3a2a6c2
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions packaging/checkout-and-build.sh
Expand Up @@ -53,18 +53,22 @@ if [ $? -ne 0 ]; then
exit 1
fi

echo $TAG > "VERSION"
#echo $TAG > "VERSION"

msg "\E[32m" "Starting make..."
make prefix=/usr DESTDIR=../built install
if [ $? -ne 0 ]; then
msg "\E[31m" "Build failed."
exit 1
fi
#msg "\E[32m" "Starting make..."
#make prefix=/usr DESTDIR=../built install
#if [ $? -ne 0 ]; then
# msg "\E[31m" "Build failed."
# exit 1
#fi

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 # $_gitname-build
Expand Down

0 comments on commit 3a2a6c2

Please sign in to comment.