Skip to content
This repository
Browse code

jldownload: prefer curl to wget (better error handling)

  • Loading branch information...
commit 90602901145a2a0a8330eeb382b3b665dc94fecc 1 parent f0f07df
Mike Nolta nolta authored

Showing 1 changed file with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. +3 3 deps/jldownload
6 deps/jldownload
@@ -28,10 +28,10 @@ else
28 28 exit 1
29 29 fi
30 30
31   -if [ -x $WGET ]; then
32   - GETURL="$WGET $WGET_OPTS"
33   -elif [ -x $CURL ]; then
  31 +if [ -x $CURL ]; then
34 32 GETURL="$CURL $CURL_OPTS"
  33 +elif [ -x $WGET ]; then
  34 + GETURL="$WGET $WGET_OPTS"
35 35 elif [ -x $FETCH ]; then
36 36 GETURL="$FETCH $FETCH_OPTS"
37 37 else

1 comment on commit 9060290

Please sign in to comment.
Something went wrong with that request. Please try again.