From e1042138dc25a9ed6c4f1644663878d637c945ed Mon Sep 17 00:00:00 2001 From: thierry Date: Fri, 21 May 2010 16:48:10 +0000 Subject: [PATCH] new layout --- scripts/git-check.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/git-check.sh b/scripts/git-check.sh index 290a243..e98ec6a 100755 --- a/scripts/git-check.sh +++ b/scripts/git-check.sh @@ -31,7 +31,7 @@ function fill_descriptions () { b=$(basename $arg .git) git=${b}.git echo -n "$git " - grep Unnamed $git/description && { echo -n $i "Setting.. "; echo $b > $git/description ; } + grep -q Unnamed $git/description && { echo -n $i "Setting.. "; echo $b > $git/description ; } done echo "" } @@ -56,5 +56,5 @@ EOF } missing_gitweb -fill_descriptions $(ls *.git) -upload_archives $(ls *.git) +fill_descriptions $(ls -d *.git) +upload_archives $(ls -d *.git) -- 2.43.0