From 41b9b5e610f8196dd3d9eb57c78dd688ecd8bd7e Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Wed, 7 Apr 2021 08:03:47 -0400 Subject: [PATCH] update-hook: remove shell: true from manifests --- gitsrht-update-hook/submitter.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gitsrht-update-hook/submitter.go b/gitsrht-update-hook/submitter.go index 79c7f52..2ef8840 100644 --- a/gitsrht-update-hook/submitter.go +++ b/gitsrht-update-hook/submitter.go @@ -398,4 +398,9 @@ func autoSetupManifest(submitter BuildSubmitter, manifest *Manifest) { manifest.Environment = make(map[string]interface{}) } manifest.Environment["BUILD_SUBMITTER"] = "git.sr.ht" + + if manifest.Shell { + manifest.Shell = false + log.Println("Notice: removing 'shell: true' from build manifest") + } } -- 2.38.4