1
0
Fork 0

Bug 1344 - remove old files from base package

- pass '--delete' to rsync so files removed from the source
tree are also removed on the destination side.
This commit is contained in:
James Turner 2014-03-28 08:06:21 +00:00
parent 70ee8107b1
commit 9d1862e591

View file

@ -61,7 +61,13 @@ echo "Assembling base package"
cd $WORKSPACE
echo "Syncing base packages files from sphere.telascience.org"
rsync -avz --filter 'merge base-package.rules' \
# a: archive mode
# z: compress
# delete: 'delete extraneous files from dest dirs'; avoid bug 1344
# filter: use the rules in our rules file
rsync -az --delete \
--filter 'merge base-package.rules' \
-e ssh jturner@sphere.telascience.org:/home/jturner/fgdata .
tar cjf output/FlightGear-$VERSION-data.tar.bz2 fgdata/