commit 8bc2a9d0adbdbe5775c28f2a8f6bc0da3294b775 parent bdaeb28a57fef20700577f73bacbfa6e389b9584 Author: Anders Damsgaard <anders@adamsgaard.dk> Date: Tue, 4 Dec 2018 09:32:32 +0100 Fix gitlab-runner command Diffstat:
M | links/bin/gitlab-ci | | | 6 | +++++- |
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/links/bin/gitlab-ci b/links/bin/gitlab-ci @@ -15,7 +15,11 @@ case "$1" in exit 0 ;; *) - [ "$(uname)" = "Linux" ] && runnercmd="sudo docker" || runnercmd=docker + if [ "$(uname)" = "Linux" ]; then + runnercmd="sudo gitlab-runner" + else + runnercmd=gitlab-runner + fi ;; esac