summaryrefslogtreecommitdiff
path: root/tools/ci/scripts/init.sh
diff options
context:
space:
mode:
authorjak1 <jak1@themanaworld.org>2022-06-22 21:20:00 +0000
committerjak1 <jak1@themanaworld.org>2022-06-22 21:20:00 +0000
commitb9be112e48be712f47726194e5a3454ab63b6274 (patch)
treeffede8fd64d7942bcdb33410b0b1935fbaac60f1 /tools/ci/scripts/init.sh
parentc87f53791db0de931ee87dfcebea146099fb737b (diff)
downloadplus-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-xtools/ci/scripts/init.sh6
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