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:
parent
70ee8107b1
commit
9d1862e591
1 changed files with 7 additions and 1 deletions
|
@ -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/
|
||||
|
|
Loading…
Reference in a new issue