Fix jenkins release build script
Properly build the source package.
This commit is contained in:
+1
-1
Submodule flightgear updated: 979fc9785b...0c78392cc0
@@ -3,6 +3,8 @@
|
|||||||
cd simgear
|
cd simgear
|
||||||
cmake -DCMAKE_INSTALL_PREFIX:PATH=$WORKSPACE/dist
|
cmake -DCMAKE_INSTALL_PREFIX:PATH=$WORKSPACE/dist
|
||||||
|
|
||||||
|
# first make source package (clean directory), finally compile
|
||||||
|
make package_source
|
||||||
make
|
make
|
||||||
|
|
||||||
if [ $? -ne '0' ]; then
|
if [ $? -ne '0' ]; then
|
||||||
@@ -11,12 +13,14 @@ if [ $? -ne '0' ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
make install
|
make install
|
||||||
make dist
|
|
||||||
|
|
||||||
echo "Starting on FlightGear"
|
echo "Starting on FlightGear"
|
||||||
|
|
||||||
cd ../flightgear
|
cd ../flightgear
|
||||||
cmake -DCMAKE_INSTALL_PREFIX:PATH=$WORKSPACE/dist
|
cmake -DCMAKE_INSTALL_PREFIX:PATH=$WORKSPACE/dist
|
||||||
|
|
||||||
|
# first source package (clean directory), finally compile
|
||||||
|
make package_source
|
||||||
make
|
make
|
||||||
|
|
||||||
if [ $? -ne '0' ]; then
|
if [ $? -ne '0' ]; then
|
||||||
@@ -25,4 +29,4 @@ if [ $? -ne '0' ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
make install
|
make install
|
||||||
make dist
|
|
||||||
|
|||||||
Reference in New Issue
Block a user