Don't wipe all of output/, only data TXZs
Otherwise we wipe source tarballs created by the build script.
This commit is contained in:
parent
27475c599f
commit
53a0c9cc2e
@ -24,11 +24,13 @@ cd $WORKSPACE
|
|||||||
|
|
||||||
|
|
||||||
# wipe directories and re-create
|
# wipe directories and re-create
|
||||||
rm -rf output
|
|
||||||
rm -rf staging
|
rm -rf staging
|
||||||
mkdir -p output
|
mkdir -p output
|
||||||
mkdir -p staging
|
mkdir -p staging
|
||||||
|
|
||||||
|
# wipe existing data TXZs
|
||||||
|
rm output/FlightGear-$VERSION*data.txz
|
||||||
|
|
||||||
rsync -az --exclude=".git" fgdata staging/
|
rsync -az --exclude=".git" fgdata staging/
|
||||||
|
|
||||||
# add all the scenery pack files into it
|
# add all the scenery pack files into it
|
||||||
|
Loading…
Reference in New Issue
Block a user