~sircmpwn/git.sr.ht

41b9b5e610f8196dd3d9eb57c78dd688ecd8bd7e — Drew DeVault 6 days ago 171b41b 0.72.21
update-hook: remove shell: true from manifests
1 files changed, 5 insertions(+), 0 deletions(-)

M gitsrht-update-hook/submitter.go
M gitsrht-update-hook/submitter.go => gitsrht-update-hook/submitter.go +5 -0
@@ 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")
	}
}