nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
contrib/oot.sh: the name is optional (if guessable from the reponame)
[nit.git]
/
contrib
/
oot.sh
diff --git
a/contrib/oot.sh
b/contrib/oot.sh
index
351e69d
..
2864c6a
100755
(executable)
--- a/
contrib/oot.sh
+++ b/
contrib/oot.sh
@@
-40,7
+40,8
@@
shift
while read -r repo name; do
[[ "$repo" = "#"* ]] && continue
- [[ "$name" = "" ]] && continue
+ [[ "$repo" = "" ]] && continue
+ [[ "$name" = "" ]] && name=`basename "$repo" .git`
dir="oot/$name"
case "$cmd" in
list) echo "$name";;