Fix jenkins release build script

Properly build the source package.
This commit is contained in:
ThorstenB
2012-01-17 23:43:12 +01:00
parent d243047bf8
commit 427964586c
2 changed files with 7 additions and 3 deletions

View File

@@ -3,6 +3,8 @@
cd simgear
cmake -DCMAKE_INSTALL_PREFIX:PATH=$WORKSPACE/dist
# first make source package (clean directory), finally compile
make package_source
make
if [ $? -ne '0' ]; then
@@ -11,12 +13,14 @@ if [ $? -ne '0' ]; then
fi
make install
make dist
echo "Starting on FlightGear"
cd ../flightgear
cmake -DCMAKE_INSTALL_PREFIX:PATH=$WORKSPACE/dist
# first source package (clean directory), finally compile
make package_source
make
if [ $? -ne '0' ]; then
@@ -25,4 +29,4 @@ if [ $? -ne '0' ]; then
fi
make install
make dist