From 80e08768dec0c6a505b8d6bc6f7750d367fc63e2 Mon Sep 17 00:00:00 2001 From: Giles Bradshaw Date: Thu, 24 Sep 2020 14:45:58 +0100 Subject: [PATCH] . --- .drone/scripts/initialise-image.sh | 2 +- .drone/scripts/login.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone/scripts/initialise-image.sh b/.drone/scripts/initialise-image.sh index 2444c60..0aaac25 100644 --- a/.drone/scripts/initialise-image.sh +++ b/.drone/scripts/initialise-image.sh @@ -5,7 +5,7 @@ do && docker tag $2 $1$2 \ && docker push $1$2 && break # substitute your command here n=$((n+1)) - if [ $n ge 2 ]; then + if [ $n -ge 2 ]; then echo "initialise failed" exit 1 fi diff --git a/.drone/scripts/login.sh b/.drone/scripts/login.sh index 3ef3b17..b885720 100644 --- a/.drone/scripts/login.sh +++ b/.drone/scripts/login.sh @@ -5,7 +5,7 @@ do && break # substitute your command here n=$((n+1)) - if [ $n ge 2 ]; then + if [ $n -ge 2 ]; then echo "login failed" exit 1 fi