aboutsummaryrefslogtreecommitdiffhomepage
path: root/snap/snapcraft.yaml
diff options
context:
space:
mode:
authorJoe Mooring <[email protected]>2023-07-01 14:55:57 -0700
committerGitHub <[email protected]>2023-07-01 14:55:57 -0700
commit3c8256a137d447dee15645a9a8ded7d3cf68add2 (patch)
treecdc6025f14734a38382b86232d8b3402a0bfb56c /snap/snapcraft.yaml
parent19d76ae96be1e86c5eb3b0f0dff1161082b3ad82 (diff)
downloadhugo-3c8256a137d447dee15645a9a8ded7d3cf68add2.tar.gz
hugo-3c8256a137d447dee15645a9a8ded7d3cf68add2.zip
snap: Restore security.exec.osenv whitelist
Fixes #11195
Diffstat (limited to 'snap/snapcraft.yaml')
-rw-r--r--snap/snapcraft.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index a3a9c00e0..fc5ef9941 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -98,7 +98,7 @@ parts:
echo " - pandoc_datadir to be passed to pandoc"
echo " - PYTHONHOME and SNAP to be passed to rst2html"
echo " - RUBYLIB to be passed to asciidoctor"
- sed -i '/OsEnv: NewWhitelist/s/)\$/|GIT_EXEC_PATH|LD_LIBRARY_PATH|npm_config_(cache|init_module|userconfig)|pandoc_datadir|PYTHONHOME|RUBYLIB|SNAP&/' config/security/securityConfig.go
+ sed -i '/OsEnv: MustNewWhitelist/s/)\$/|GIT_EXEC_PATH|LD_LIBRARY_PATH|npm_config_(cache|init_module|userconfig)|pandoc_datadir|PYTHONHOME|RUBYLIB|SNAP&/' config/security/securityConfig.go
git diff config/security/securityConfig.go
HUGO_BUILD_TAGS="extended"