CI: Fix Sauce Connect to not always do it twice ...only do it twice if the first time fails whoops lol
diff --git a/circle.yml b/circle.yml index 364e2c9..f7f5298 100644 --- a/circle.yml +++ b/circle.yml
@@ -54,10 +54,10 @@ # Sauce Connect randomly fails so try twice https://git.io/vPN8v time sc-*-linux/bin/sc --user $SAUCE_USERNAME --api-key $SAUCE_ACCESS_KEY \ --readyfile ~/sauce_is_ready - test -e sauce_is_ready && exit + test -e ~/sauce_is_ready && exit time sc-*-linux/bin/sc --user $SAUCE_USERNAME --api-key $SAUCE_ACCESS_KEY \ --readyfile ~/sauce_is_ready - test -e sauce_is_ready && exit + test -e ~/sauce_is_ready && exit echo 'ERROR: Exited twice without creating readyfile' \ | tee /dev/stderr > ~/sauce_is_ready exit 1