From 86efb9e7649fa16c639b089fac9094d36811caf7 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 (release-4.0) 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 | 4 ++-- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b9b3749411..6ddb05efae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,11 @@ >= 525.85.05) require this lib to compile OpenCL programs against NVIDIA GPUs, i.e. `libnvidia-opencl` depends on `libnvidia-nvvm`. +### 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 29e31539c5..915024a59d 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 5f91b97fdb..4ae76c1757 100644 --- a/go.sum +++ b/go.sum @@ -787,7 +787,7 @@ gotest.tools/v3 v3.5.1 h1:EENdUnS3pdur5nybKYIh2Vfgc8IUNBjxDPSjtiJcOzU= gotest.tools/v3 v3.5.1/go.mod h1:isy3WKz7GK6uNw/sbHzfKBLvlvXwUyV06n6brMxxopU= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= 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=