repoctl, uproject: ne plus enlever le suffixe .git
This commit is contained in:
parent
440d2aa1fa
commit
137dfa9674
2
repoctl
2
repoctl
@ -47,7 +47,7 @@ ACTIONS
|
|||||||
}
|
}
|
||||||
|
|
||||||
function repoctl_init() {
|
function repoctl_init() {
|
||||||
repourl="${1%.git}"
|
repourl="$1"
|
||||||
[ -n "$repourl" ] || return
|
[ -n "$repourl" ] || return
|
||||||
rname=
|
rname=
|
||||||
rtype=gitolite
|
rtype=gitolite
|
||||||
|
4
uproject
4
uproject
@ -242,7 +242,7 @@ done
|
|||||||
# Traiter les commandes
|
# Traiter les commandes
|
||||||
|
|
||||||
function cxone_init() {
|
function cxone_init() {
|
||||||
repourl="${1%.git}"
|
repourl="$1"
|
||||||
[ -n "$repourl" ] || return
|
[ -n "$repourl" ] || return
|
||||||
rname=
|
rname=
|
||||||
rtype=gitolite
|
rtype=gitolite
|
||||||
@ -465,7 +465,7 @@ NR <= 2 { next }
|
|||||||
done
|
done
|
||||||
|
|
||||||
else
|
else
|
||||||
repourl="${1%.git}"
|
repourl="$1"
|
||||||
[ -n "$repourl" ] || die "Vous devez spécifier l'url du dépôt git"
|
[ -n "$repourl" ] || die "Vous devez spécifier l'url du dépôt git"
|
||||||
|
|
||||||
destdir="$2"
|
destdir="$2"
|
||||||
|
Loading…
Reference in New Issue
Block a user