changeset 95:5addbcdc2e87

Ignore commented lines
author Chris Cannam
date Tue, 21 Apr 2015 12:40:12 +0100
parents 12a7ba9fa2b4
children e24202b02c69 943b6b853b9a
files SCRIPTS/update-all.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/SCRIPTS/update-all.sh	Tue Apr 21 12:20:00 2015 +0100
+++ b/SCRIPTS/update-all.sh	Tue Apr 21 12:40:12 2015 +0100
@@ -2,7 +2,7 @@
 
 # Run this from the top-level vamp-build-and-test directory
 
-cat .hgsub | awk '{ print $1 }' | while read x; do
+cat .hgsub | grep -v '^#' | awk '{ print $1 }' | while read x; do
     if [ -d "$x"/.hg ]; then 
 	( cd $x ; hg pull && hg update )
     elif [ -d "$x"/.git ]; then