diff options
author | jak1 <jak1@themanaworld.org> | 2022-06-22 21:20:00 +0000 |
---|---|---|
committer | jak1 <jak1@themanaworld.org> | 2022-06-22 21:20:00 +0000 |
commit | b9be112e48be712f47726194e5a3454ab63b6274 (patch) | |
tree | ffede8fd64d7942bcdb33410b0b1935fbaac60f1 /tools/ci/scripts/init.sh | |
parent | c87f53791db0de931ee87dfcebea146099fb737b (diff) | |
download | plus-b9be112e48be712f47726194e5a3454ab63b6274.tar.gz plus-b9be112e48be712f47726194e5a3454ab63b6274.tar.bz2 plus-b9be112e48be712f47726194e5a3454ab63b6274.tar.xz plus-b9be112e48be712f47726194e5a3454ab63b6274.zip |
replaced 'docker' tag with CI_RUNNER_ID
Diffstat (limited to 'tools/ci/scripts/init.sh')
-rwxr-xr-x | tools/ci/scripts/init.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/ci/scripts/init.sh b/tools/ci/scripts/init.sh index cff5a62e1..c715f3032 100755 --- a/tools/ci/scripts/init.sh +++ b/tools/ci/scripts/init.sh @@ -13,7 +13,7 @@ function do_init { } function update_repos { - if [ "$CI_RUNNER_ID" != "" ]; + if [[ ${CI_RUNNER_ID} != "" ]]; then echo "Running from shell. Skipping update repos" return @@ -29,7 +29,7 @@ function update_repos { } function aptget_update { - if [ "$CI_RUNNER_ID" != "" ]; + if [[ ${CI_RUNNER_ID} != "" ]]; then echo "Running from shell. Skipping apt-get update" return @@ -59,7 +59,7 @@ function aptget_update { } function aptget_install { - if [ "$CI_RUNNER_ID" != "" ]; + if [[ ${CI_RUNNER_ID} != "" ]]; then echo "Running from shell. Skipping apt-get" return |