summaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@nginx.com>2022-12-22 16:36:29 +0100
committerAlejandro Colomar <alx@nginx.com>2023-01-02 22:44:36 +0100
commit88b04f3e7cc100caf74623165ebe102115a9e304 (patch)
tree3c1ee11e890b4163af81fe0f9336de97a14bc843 /tools
parent2435bd1c3a55cad4d9bcacf5389a38c7cb0b154e (diff)
downloadunit-88b04f3e7cc100caf74623165ebe102115a9e304.tar.gz
unit-88b04f3e7cc100caf74623165ebe102115a9e304.tar.bz2
Tools: setup-unit: disabled buggy behavior of zsh(1).
Reported-by: Liam Crilly <liam@nginx.com> Signed-off-by: Alejandro Colomar <alx@nginx.com>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/setup-unit3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/setup-unit b/tools/setup-unit
index d16fe1a3..3db2d38b 100755
--- a/tools/setup-unit
+++ b/tools/setup-unit
@@ -25,6 +25,9 @@ set -Eefuo pipefail;
test -v BASH_VERSION \
&& shopt -s lastpipe;
+test -v ZSH_VERSION \
+&& setopt sh_word_split;
+
export LC_ALL=C
program_name="$0";