Skip to content
Extraits de code Groupes Projets
Valider 8a167911 rédigé par Théo - Le Filament's avatar Théo - Le Filament
Parcourir les fichiers

fix: typo in module installation logging

parent 1def3bfa
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -89,29 +89,29 @@ dst="$1"
shift
modules="$@"
# Clonning repo.
log_action="repo '$repo': clonning [no tree + branch]..."
# Cloning repo.
log_action="repo '$repo': cloning [no tree + branch]..."
print_info "$log_action"
git clone --branch "${ref}" --filter=tree:0 "${repo}" "${TMP_REPO_PATH}"
if [ "$?" -eq 0 ]; then
print_success "$log_action"
else
print_failed "$log_action"
log_action="repo '$repo': clonning [no tree]..."
log_action="repo '$repo': cloning [no tree]..."
print_info "$log_action"
git clone --filter=tree:0 "${repo}" "${TMP_REPO_PATH}"
if [ "$?" -eq 0 ]; then
print_success "$log_action"
else
print_failed "$log_action"
log_action="repo '$repo': clonning [branch]..."
log_action="repo '$repo': cloning [branch]..."
print_info "$log_action"
git clone --single-branch --branch "${ref}" --depth 1 "${repo}" "${TMP_REPO_PATH}"
if [ "$?" -eq 0 ]; then
print_success "$log_action"
else
print_failed "$log_action"
log_action="repo '$repo': clonning [classic]..."
log_action="repo '$repo': cloning [classic]..."
print_info "$log_action"
git clone "${repo}" "${TMP_REPO_PATH}"
if [ "$?" -eq 0 ]; then
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter