From d33bc3c0fd67816952125391d497fd25ade9bb90 Mon Sep 17 00:00:00 2001 From: Jephte CLAIN Date: Tue, 11 Nov 2014 15:52:16 +0400 Subject: [PATCH] =?UTF-8?q?s'assurer=20que=20le=20nom=20du=20d=C3=A9p?= =?UTF-8?q?=C3=B4t=20ne=20se=20termine=20pas=20par=20.git?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- uproject | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uproject b/uproject index f2a290f..1c03301 100755 --- a/uproject +++ b/uproject @@ -202,7 +202,7 @@ elif array_contains GITANNEX_CMDS "$CMD"; then esac elif [ "$CMD" == crone ]; then - repourl="$1" + repourl="${1%.git}" [ -n "$repourl" ] || die "Vous devez spécifier l'url du dépôt git" splitfsep "$repourl" : userhost path splituserhost "$userhost" user host