From: Jean Privat Date: Mon, 7 May 2018 15:53:48 +0000 (-0400) Subject: contrib/oot.sh: the name is optional (if guessable from the reponame) X-Git-Url: http://nitlanguage.org contrib/oot.sh: the name is optional (if guessable from the reponame) Signed-off-by: Jean Privat --- diff --git a/contrib/oot.sh b/contrib/oot.sh index 351e69d..2864c6a 100755 --- 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";; diff --git a/contrib/oot.txt b/contrib/oot.txt index 46e720b..311aa57 100644 --- a/contrib/oot.txt +++ b/contrib/oot.txt @@ -1,9 +1,9 @@ # List of out-of-tree repositories # Format: repo name -https://github.com/R4PaSs/brewnit.git brewnit -https://gitlab.com/xymus/darpg.git darpg -https://gitlab.com/jeremlvt/dawn_arrival.git dawn_arrival +https://github.com/R4PaSs/brewnit.git +https://gitlab.com/xymus/darpg.git +https://gitlab.com/jeremlvt/dawn_arrival.git https://github.com/Morriar/Missions.git missions https://gitlab.com/Heavyshield/NitGains.git nitgains https://github.com/ppepos/pep8-dbg.git pep8dbg -https://gitlab.com/xymus/sputnit.git sputnit +https://gitlab.com/xymus/sputnit.git