Skip to content

Commit

Permalink
jldownload: prefer curl to wget (better error handling)
Browse files Browse the repository at this point in the history
  • Loading branch information
nolta committed Sep 5, 2012
1 parent f0f07df commit 9060290
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions deps/jldownload
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ else
exit 1
fi

if [ -x $WGET ]; then
GETURL="$WGET $WGET_OPTS"
elif [ -x $CURL ]; then
if [ -x $CURL ]; then
GETURL="$CURL $CURL_OPTS"
elif [ -x $WGET ]; then
GETURL="$WGET $WGET_OPTS"
elif [ -x $FETCH ]; then
GETURL="$FETCH $FETCH_OPTS"
else
Expand Down

0 comments on commit 9060290

Please sign in to comment.