Skip to content

Commit

Permalink
Fix jldownload for busybox built-in wget
Browse files Browse the repository at this point in the history
  • Loading branch information
tkelman committed Mar 7, 2018
1 parent c1e7c93 commit f808bfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deps/tools/jldownload
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ CACHE_URL="$CACHE_HOST/$URL"

if [ -x "$CURL" ] && $CURL -V >/dev/null; then
GETURL="$CURL $CURL_OPTS"
elif [ -x "$WGET" ] && $WGET -V >/dev/null; then
elif [ -x "$WGET" ] && $WGET --help >/dev/null 2>&1; then
GETURL="$WGET $WGET_OPTS"
elif [ -x "$FETCH" ]; then
GETURL="$FETCH $FETCH_OPTS"
Expand Down

0 comments on commit f808bfd

Please sign in to comment.