Skip to content
Snippets Groups Projects

Add busybox shell

Merged Nicholas Colbert requested to merge Ticketmaster/gitlab-runner:add_busybox_shell into master
1 unresolved thread
1 file
+ 5
2
Compare changes
  • Side-by-side
  • Inline
+ 5
2
@@ -4,13 +4,14 @@ import (
"bufio"
"bytes"
"fmt"
"gitlab.com/gitlab-org/gitlab-runner/common"
"gitlab.com/gitlab-org/gitlab-runner/helpers"
"io"
"path"
"runtime"
"strconv"
"strings"
"gitlab.com/gitlab-org/gitlab-runner/common"
"gitlab.com/gitlab-org/gitlab-runner/helpers"
)
const bashDetectShell = `if [ -x /usr/local/bin/bash ]; then
@@ -25,6 +26,8 @@ elif [ -x /usr/bin/sh ]; then
exec /usr/bin/sh $@
elif [ -x /bin/sh ]; then
exec /bin/sh $@
elif [ -x /busybox/sh ]; then
Please register or sign in to reply
exec /busybox/sh $@
else
echo shell not found
exit 1
Loading