~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to utilities/rocketfuel-get

  • Committer: Mark Shuttleworth
  • Date: 2008-06-24 19:33:53 UTC
  • mto: (6491.1.11 bug-197223)
  • mto: This revision was merged to the branch mainline in revision 6575.
  • Revision ID: mark@canonical.com-20080624193353-0se0ltnw971leqji
Do not delete locally compiled files when rsyncing in source deps

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
DEVPAD="devpad.canonical.com"
9
9
ROCKETFUELDEPS="/code/rocketfuel-built/launchpad/sourcecode/*"
10
10
RSYNCOPTIONS="-avp --partial --progress --delete"
 
11
# Note, we also add a filter when rsync is evoked.
11
12
 
12
13
# Make sure we have an ssh key primed
13
14
ssh-add -l
26
27
# Update the source dependencies
27
28
if [ ! -d $SOURCEDEPS ]; then mkdir -p $SOURCEDEPS; fi
28
29
 
29
 
rsync $RSYNCOPTIONS $DEVPAD:$ROCKETFUELDEPS $SOURCEDEPS/
 
30
# Several (*) have tried, and failed, to get the --filter to fit neatly
 
31
# into RSYNCOPTIONS, so we put it here. Bash arrays do not count.
 
32
#   * elmo, sabdfl
 
33
rsync --filter=". utilities/sourcedeps.filter" $RSYNCOPTIONS $DEVPAD:$ROCKETFUELDEPS $SOURCEDEPS/
30
34
 
31
35
cd ~/canonical/lp-branches
32
36
for branch in *; do