pcxone: correction de l'url généré des dépôts git

This commit is contained in:
Jephté Clain 2023-04-12 08:47:54 +04:00
parent 9d7594356e
commit 7ba7d1c501
1 changed files with 1 additions and 0 deletions

View File

@ -467,6 +467,7 @@ NR <= 2 { next }
else
repourl="$1"
[ -n "$repourl" ] || die "Vous devez spécifier l'url du dépôt git"
[ "$rtype" == gogs -o "$rtype" == gitea ] && repourl="${repourl%.git}.git"
destdir="$2"
if [ -z "$destdir" ]; then