skip gitweb now
[infrastructure.git] / scripts / git-check.sh
index 8b80765..80ff1cf 100755 (executable)
@@ -43,7 +43,7 @@ function upload_archives () {
        b=$(basename $arg .git)
        git=${b}.git
        echo -n "$git "
-       if ! grep uploadarch $git/config ; then
+       if ! grep -q uploadarch $git/config ; then
            echo -n $i "Setting.. "; 
            cat >> $git/config <<EOF
 [daemon]
@@ -55,7 +55,7 @@ EOF
     echo ""
 }
 
-missing_gitweb
+missing_gitweb
 args="$@"
 [[ -z "$args" ]] && args=$(ls -d *.git)
 fill_descriptions $args