Skip to content

Commit cda3ac8

Browse files
committed
-z
1 parent e7cd0cb commit cda3ac8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

scripts/dev/downloader.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ downloader() {
2626
wget2 -q $@;
2727
elif command -v curl 2>/dev/null; then
2828
for PKG in $@; do
29-
if [[-z "$PKG"]]; then
29+
if [[ -z "$PKG" ]]; then
3030
curl -LO --retry 20 -s $PKG
3131
fi
3232
done
3333
else
3434
for PKG in $@; do
35-
if [[-z "$PKG"]]; then
35+
if [[ -z "$PKG" ]]; then
3636
wget -q $PKG@ 2> /dev/null
3737
fi
3838
done
@@ -43,13 +43,13 @@ downloader() {
4343
elif
4444
command -v curl 2>/dev/null; then
4545
for PKG in $@; do
46-
if [[-z "$PKG"]]; then
46+
if [[ -z "$PKG" ]]; then
4747
curl -L --retry 20 --progress-bar -O $PKG
4848
fi
4949
done
5050
else
5151
for PKG in $@; do
52-
if [[-z "$PKG"]]; then
52+
if [[ -z "$PKG" ]]; then
5353
wget $PKG 2> /dev/null
5454
fi
5555
done

0 commit comments

Comments
 (0)