can specifiy target git dir
authorthierry <thierry@41d37cc5-eb28-0410-a9bf-d37491348ade>
Fri, 21 May 2010 16:51:12 +0000 (16:51 +0000)
committerthierry <thierry@41d37cc5-eb28-0410-a9bf-d37491348ade>
Fri, 21 May 2010 16:51:12 +0000 (16:51 +0000)
scripts/git-check.sh

index e98ec6a..8b80765 100755 (executable)
@@ -56,5 +56,7 @@ EOF
 }
 
 missing_gitweb
-fill_descriptions $(ls -d *.git)
-upload_archives $(ls -d *.git)
+args="$@"
+[[ -z "$args" ]] && args=$(ls -d *.git)
+fill_descriptions $args
+upload_archives $args