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 ""
}
}
missing_gitweb
-fill_descriptions $(ls *.git)
-upload_archives $(ls *.git)
+fill_descriptions $(ls -d *.git)
+upload_archives $(ls -d *.git)