From: thierry Date: Fri, 21 May 2010 16:40:57 +0000 (+0000) Subject: new layout X-Git-Tag: foo~154 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=dfa17111de9906109ce7eb57497afc85cefaa499;p=infrastructure.git new layout --- diff --git a/scripts/git-check.sh b/scripts/git-check.sh index 67b2a42..290a243 100755 --- a/scripts/git-check.sh +++ b/scripts/git-check.sh @@ -14,8 +14,10 @@ function missing_gitweb () { echo "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx missing in gitweb (for web)" for i in $gitwebfiles; do echo -n "$i " - if [ ! -f ${i} ] ; then - echo "WARNING: IS MISSING.. " ; + if [ -f ${i} ] ; then + echo -n "OK " + else + echo -n "MISSING.. " ; fi done echo "" @@ -27,7 +29,7 @@ function fill_descriptions () { for arg in "$@" ; do # accept args like plcapi or plcapi.git b=$(basename $arg .git) - giti=${b}.git + git=${b}.git echo -n "$git " grep Unnamed $git/description && { echo -n $i "Setting.. "; echo $b > $git/description ; } done @@ -39,7 +41,7 @@ function upload_archives () { for arg in "$@" ; do # accept args like plcapi or plcapi.git b=$(basename $arg .git) - giti=${b}.git + git=${b}.git echo -n "$git " if ! grep uploadarch $git/config ; then echo -n $i "Setting.. ";