Permalink
Browse files

Ensure that the submodules aren't lost

  • Loading branch information...
1 parent 55145c4 commit 8667bd915c350a8bb75fdb188c829fa707caa489 @dabrahams dabrahams committed Jan 15, 2013
Showing with 11 additions and 0 deletions.
  1. +11 −0 bin/update.sh
View
@@ -55,5 +55,16 @@ sleep 5
# rsync to persistent storage. Give ETA updates every 2s
rsync -aix --delete .git/ $WORKSPACE/boost-history.git/ | pv -le -s "$(du -d 0 .git/ | cut -f 1)" > /dev/null
+# Push tools and libs up to GitHub
+for dir in libs tools ; do
+ pushd dir
+ for module in * ; do
+ (cd module;
+ git remote add origin 'git@github.com:boostorg/'+module;
+ git push --mirror origin)
+ done
+ popd dir
+done
+
cd $WORKSPACE
rm -rf "$RAMDISK/cpp"

0 comments on commit 8667bd9

Please sign in to comment.