Changeset 25932


Ignore:
Timestamp:
01/06/21 14:59:54 (4 years ago)
Author:
schlegel
Message:

CHG: use curl first for download

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/scripts/DownloadExternalPackage.sh

    r23685 r25932  
    4141
    4242## Download file
    43 #
    44 if [ ! -z `which wget` ]
     43
     44if [ ! -z `which curl` ]
     45then
     46        curl --silent $URL -o $OUT_FILE
     47elif [ ! -z `which wget` ]
    4548then
    4649        wget --quiet -O $OUT_FILE $URL
    47 elif [ ! -z `which curl` ]
    48 then
    49         curl --silent $URL -o $OUT_FILE
    5050else
    5151        echo $MSG_ERR_NO_GET_CMD
Note: See TracChangeset for help on using the changeset viewer.