From: Rudolf Polzer Date: Wed, 9 Mar 2011 17:06:08 +0000 (+0100) Subject: ./all update: make a .no file skip updating. Other operations (including ./all clean... X-Git-Tag: xonotic-v0.5.0~119 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=c448e52f93e94881720b6be54e93eb023d944e6c;p=xonotic%2Fxonotic.git ./all update: make a .no file skip updating. Other operations (including ./all clean --reclone) still consider these repos! --- diff --git a/all b/all index 8f6f6e90..e892def8 100755 --- a/all +++ b/all @@ -235,7 +235,7 @@ listrepos() fi # if we have .no file, skip if [ -f "$d.no" ]; then - msg "Repository $d disabled by a .no file, delete $p.no to enable" + msg "Repository $d disabled by a .no file, delete $d.no to enable" continue fi # if we have matching pk3, skip @@ -608,6 +608,11 @@ case "$cmd" in pushurl=`repopushurl "$d"` branch=`repobranch "$d"` if [ -d "$d0/$d" ]; then + # if we have .no file, skip + if [ -f "$d0/$d.no" ]; then + msg "Repository $d disabled by a .no file, delete $d.no to enable; thus, not updated" + continue + fi if $allow_pull; then enter "$d0/$d" verbose r=`git symbolic-ref HEAD`