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

fix(get_addons): replace bad test

parent 2252f44c
Branches
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -25,11 +25,11 @@ modules="$@" ...@@ -25,11 +25,11 @@ modules="$@"
set +e set +e
git clone --branch "${ref}" --filter=tree:0 "${repo}" "${TMP_REPO_PATH}" git clone --branch "${ref}" --filter=tree:0 "${repo}" "${TMP_REPO_PATH}"
if [ "$?" != 0 ]; then if [ "$?" -ne 0 ]; then
git clone --filter=tree:0 "${repo}" "${TMP_REPO_PATH}" git clone --filter=tree:0 "${repo}" "${TMP_REPO_PATH}"
if [ "$?" != 0 ]; then if [ "$?" -ne 0 ]; then
git clone --single-branch --branch "${ref}" --depth 1 "${repo}" "${TMP_REPO_PATH}" git clone --single-branch --branch "${ref}" --depth 1 "${repo}" "${TMP_REPO_PATH}"
if [ "$?" != 0 ]; then if [ "$?" -ne 0 ]; then
git clone "${repo}" "${TMP_REPO_PATH}" git clone "${repo}" "${TMP_REPO_PATH}"
fi fi
fi fi
......
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