summaryrefslogtreecommitdiff
path: root/user/gitlab-runner/posix-shell.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2024-05-30 22:33:29 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2024-08-07 10:08:20 -0500
commit018736f327af152836fa2e01f12ed067cb59ac00 (patch)
tree21a141424cc8de2beb3a611a48efe3e3d8f919e9 /user/gitlab-runner/posix-shell.patch
parent79e3f684ad2db0c6df8659e819add7d8517d9cab (diff)
downloadpackages-018736f327af152836fa2e01f12ed067cb59ac00.tar.gz
packages-018736f327af152836fa2e01f12ed067cb59ac00.tar.bz2
packages-018736f327af152836fa2e01f12ed067cb59ac00.tar.xz
packages-018736f327af152836fa2e01f12ed067cb59ac00.zip
user/gitlab-runner: Update to 15.0.0
* Parallel build on as many cores as normal builds use. * The module cache is contained within the builddir instead of polluting HOME.
Diffstat (limited to 'user/gitlab-runner/posix-shell.patch')
-rw-r--r--user/gitlab-runner/posix-shell.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/user/gitlab-runner/posix-shell.patch b/user/gitlab-runner/posix-shell.patch
deleted file mode 100644
index 6169c3ecc..000000000
--- a/user/gitlab-runner/posix-shell.patch
+++ /dev/null
@@ -1,30 +0,0 @@
---- gitlab-runner-v12.1.0/shells/bash.go 2019-07-19 12:13:32.000000000 +0000
-+++ gitlab-runner-v12.1.0/shells/bash.go 2020-04-26 23:07:57.303304498 +0000
-@@ -102,12 +102,12 @@ func (b *BashWriter) Variable(variable c
- }
-
- func (b *BashWriter) IfDirectory(path string) {
-- b.Line(fmt.Sprintf("if [[ -d %q ]]; then", path))
-+ b.Line(fmt.Sprintf("if [ -d %q ]; then", path))
- b.Indent()
- }
-
- func (b *BashWriter) IfFile(path string) {
-- b.Line(fmt.Sprintf("if [[ -e %q ]]; then", path))
-+ b.Line(fmt.Sprintf("if [ -e %q ]; then", path))
- b.Indent()
- }
-
-@@ -200,9 +200,10 @@ func (b *BashWriter) Finish(trace bool)
- io.WriteString(w, "set -o xtrace\n")
- }
-
-- io.WriteString(w, "set -eo pipefail\n")
-+ io.WriteString(w, "set -e\n")
- io.WriteString(w, "set +o noclobber\n")
-- io.WriteString(w, ": | eval "+helpers.ShellEscape(b.String())+"\n")
-+ io.WriteString(w, "(\nexec </dev/null\n")
-+ io.WriteString(w, b.String() + "\n)\n")
- io.WriteString(w, "exit 0\n")
- w.Flush()
- return buffer.String()