Skip to content

Commit 88b04f3

Browse files
Tools: setup-unit: disabled buggy behavior of zsh(1).
Reported-by: Liam Crilly <liam@nginx.com> Signed-off-by: Alejandro Colomar <alx@nginx.com>
1 parent 2435bd1 commit 88b04f3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tools/setup-unit

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ set -Eefuo pipefail;
2525
test -v BASH_VERSION \
2626
&& shopt -s lastpipe;
2727

28+
test -v ZSH_VERSION \
29+
&& setopt sh_word_split;
30+
2831
export LC_ALL=C
2932

3033
program_name="$0";

0 commit comments

Comments
 (0)