Mercurial > hg > vamp-build-and-test
annotate update-all.sh @ 5:57da88814766
Run tester, report
author | Chris Cannam |
---|---|
date | Sat, 26 Jul 2014 10:50:24 +0100 |
parents | e3a9ff791a5e |
children |
rev | line source |
---|---|
Chris@0 | 1 #!/bin/bash |
Chris@0 | 2 cat .hgsub | awk '{ print $1 }' | while read x; do |
Chris@5 | 3 if [ -d "$x" ]; then |
Chris@5 | 4 ( cd $x ; hg pull && hg update ) |
Chris@5 | 5 else |
Chris@5 | 6 url=$(grep "^$x " .hgsub | awk '{ print $3; }') |
Chris@5 | 7 hg clone "$url" "$x" |
Chris@5 | 8 fi |
Chris@0 | 9 done |