From 65c125d2077bbb06839f29a4ea44060fd2ab402f Mon Sep 17 00:00:00 2001 From: David Trudgian Date: Thu, 26 Oct 2023 14:20:37 +0100 Subject: [PATCH] deps: update mvdan.cc/sh to commit 8b67386 Update mvdan.cc/sh to commit 8b67386. This allows execution of action scripts to correctly support parentheses in `test` / `[` commands. Required to support NVIDIA's NGC container `.singularity.d` scripts without error. Fixes #2286 --- CHANGELOG.md | 5 +++++ go.mod | 2 +- go.sum | 2 ++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 65c3267df3..2eaf158fe5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,11 @@ `exec`, `shell`, and `instance start` can now also be passed a `--authfile ` option, to read OCI registry credentials from this custom file. +### Bug Fixes + +- Support parentheses in `test` / `[` commands in container startup scripts, + via dependency update of mvdan.cc/sh. + ## 4.0.1 \[2023-10-13\] ### New Features & Functionality diff --git a/go.mod b/go.mod index e2f0d890af..eb161b5376 100644 --- a/go.mod +++ b/go.mod @@ -56,7 +56,7 @@ require ( golang.org/x/text v0.13.0 gopkg.in/yaml.v3 v3.0.1 gotest.tools/v3 v3.5.1 - mvdan.cc/sh/v3 v3.7.0 + mvdan.cc/sh/v3 v3.7.1-0.20231014181306-8b673862efc6 ) require ( diff --git a/go.sum b/go.sum index 69e2070dd3..e8166d3ee9 100644 --- a/go.sum +++ b/go.sum @@ -789,5 +789,7 @@ honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWh honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= mvdan.cc/sh/v3 v3.7.0 h1:lSTjdP/1xsddtaKfGg7Myu7DnlHItd3/M2tomOcNNBg= mvdan.cc/sh/v3 v3.7.0/go.mod h1:K2gwkaesF/D7av7Kxl0HbF5kGOd2ArupNTX3X44+8l8= +mvdan.cc/sh/v3 v3.7.1-0.20231014181306-8b673862efc6 h1:X0JtrTYSV9TYmOIoNhB/mMYkg1YxwRl9iwFNMhI+En0= +mvdan.cc/sh/v3 v3.7.1-0.20231014181306-8b673862efc6/go.mod h1:5hco898titbMf+9Y1bnuzVQAHgb/EpGCSN390uVmAVU= sigs.k8s.io/yaml v1.3.0 h1:a2VclLzOGrwOHDiV8EfBGhvjHvP46CtW5j6POvhYGGo= sigs.k8s.io/yaml v1.3.0/go.mod h1:GeOyir5tyXNByN85N/dRIT9es5UQNerPYEKK56eTBm8=