From b5ea2c0c729e1d6f807e6671ccde9ac86885211b Mon Sep 17 00:00:00 2001 From: Jephte CLAIN Date: Wed, 19 Nov 2014 15:25:55 +0400 Subject: [PATCH] typo --- uproject | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uproject b/uproject index 48c9fa1..9a3c366 100755 --- a/uproject +++ b/uproject @@ -217,7 +217,7 @@ elif [ "$CMD" == clone ]; then [ -n "$repourl" ] || die "Vous devez spécifier l'url du dépôt git" destdir="$2" - [ -n "$destdir" ] || setx destdir=basename -- "$destdir" + [ -n "$destdir" ] || setx destdir=basename -- "$repourl" [ -d "$destdir" ] && die "$(ppath "$destdir"): répertoire existant" git clone "$repourl" "$destdir" || die @@ -228,7 +228,7 @@ elif [ "$CMD" == crone ]; then [ -n "$repourl" ] || die "Vous devez spécifier l'url du dépôt git" destdir="$2" - [ -n "$destdir" ] || setx destdir=basename -- "$destdir" + [ -n "$destdir" ] || setx destdir=basename -- "$repourl" [ -d "$destdir" ] && die "$(ppath "$destdir"): répertoire existant" splitfsep "$repourl" : userhost path