view SCRIPTS/update-all.sh @ 80:dc4da16ace47

Cope with directories that (like VamPy) have actual plugins in a subdir. Also update subrepos.
author Chris Cannam
date Mon, 17 Nov 2014 13:00:08 +0000
parents c4ee2ab22c38
children 3308317239fe
line wrap: on
line source
#!/bin/bash

# Run this from the top-level vamp-build-and-test directory

cat .hgsub | awk '{ print $1 }' | while read x; do
    if [ -d "$x" ]; then 
	( cd $x ; hg pull && hg update )
    else 
	url=$(grep "^$x " .hgsub | awk '{ print $3; }')
	hg clone "$url" "$x"
    fi
done