fix shellcheck warnings

This commit is contained in:
a1346054 2021-09-13 22:47:21 +00:00
parent a411ef3e09
commit e04d6e8f3f

View file

@ -3,10 +3,10 @@
set -ex set -ex
for v in $(grep "^[^#]" ZSH_VERSIONS); do for v in $(grep "^[^#]" ZSH_VERSIONS); do
mkdir zsh-$v mkdir "zsh-$v"
cd zsh-$v cd "zsh-$v"
curl -L https://api.github.com/repos/zsh-users/zsh/tarball/zsh-$v | tar xz --strip=1 curl -L "https://api.github.com/repos/zsh-users/zsh/tarball/zsh-$v" | tar xz --strip=1
./Util/preconfig ./Util/preconfig
./configure --enable-pcre \ ./configure --enable-pcre \
@ -22,5 +22,5 @@ for v in $(grep "^[^#]" ZSH_VERSIONS); do
cd .. cd ..
rm -rf zsh-$v rm -rf "zsh-$v"
done done