summaryrefslogtreecommitdiff
path: root/tools/upgrade.sh
diff options
context:
space:
mode:
authorCarlo Sala <carlosalag@protonmail.com>2025-03-29 12:55:20 +0100
committerGitHub <noreply@github.com>2025-03-29 12:55:20 +0100
commitf81259fb344685e2dc8b67f8ad8764ccd4e8502e (patch)
treef01fd258c25f7caf37fb05bd029296d1c79d0c19 /tools/upgrade.sh
parenta78d006faa022a5104b542d7dec5a3439e72046e (diff)
downloadzsh-f81259fb344685e2dc8b67f8ad8764ccd4e8502e.tar.gz
zsh-f81259fb344685e2dc8b67f8ad8764ccd4e8502e.tar.bz2
zsh-f81259fb344685e2dc8b67f8ad8764ccd4e8502e.zip
fix(cli): support `noexec` environments (#13042)
Closes #13032
Diffstat (limited to 'tools/upgrade.sh')
-rwxr-xr-xtools/upgrade.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/upgrade.sh b/tools/upgrade.sh
index c586610c4..1aa3d8af4 100755
--- a/tools/upgrade.sh
+++ b/tools/upgrade.sh
@@ -254,7 +254,7 @@ if LANG= git pull --quiet --rebase $remote $branch; then
# Print changelog to the terminal
if [[ $interactive == true && $verbose_mode == default ]]; then
- "$ZSH/tools/changelog.sh" HEAD "$last_commit"
+ ZSH="$ZSH" command zsh -f "$ZSH/tools/changelog.sh" HEAD "$last_commit"
fi
if [[ $verbose_mode != silent ]]; then