From 7251188aeb3824c679842f4e2be431f47e695309 Mon Sep 17 00:00:00 2001 From: Jean Privat Date: Mon, 7 May 2018 11:53:48 -0400 Subject: [PATCH] contrib/oot.sh: the name is optional (if guessable from the reponame) Signed-off-by: Jean Privat --- contrib/oot.sh | 3 ++- contrib/oot.txt | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) 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 -- 1.7.9.5