From: Zbigniew Jędrzejewski-Szmek Date: Tue, 17 Dec 2019 09:34:31 +0000 (+0100) Subject: semaphoreci: trivial cleanup X-Git-Tag: v246-rc1~682^2~11 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=388b68a74febaa857d6fdc3280aae4fa83b0e87a;p=thirdparty%2Fsystemd.git semaphoreci: trivial cleanup --- diff --git a/semaphoreci/semaphore-runner.sh b/semaphoreci/semaphore-runner.sh index 2bf8ce0d52e..177fe77cdaa 100755 --- a/semaphoreci/semaphore-runner.sh +++ b/semaphoreci/semaphore-runner.sh @@ -17,7 +17,7 @@ PHASES=(${@:-SETUP RUN}) create_container() { # create autopkgtest LXC image; this sometimes fails with "Unable to fetch # GPG key from keyserver", so retry a few times - for retry in $(seq 5); do + for retry in {1..5}; do sudo lxc-create -n $CONTAINER -t download -- -d $DISTRO -r $RELEASE -a $ARCH --keyserver hkp://keyserver.ubuntu.com:80 && break sleep $((retry*retry)) done