Changeset 2845 for ThirdParty/ASL


Ignore:
Timestamp:
Aug 15, 2013 6:34:48 AM (6 years ago)
Author:
stefan
Message:

sync with trunk rev2844

Location:
ThirdParty/ASL/stable/1.2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ThirdParty/ASL/stable/1.2

  • ThirdParty/ASL/stable/1.2/get.ASL

    r2826 r2845  
    88  echo "Utility wget not found in your PATH."
    99  if test `uname` = Darwin; then
    10     wgetcmd=ftp
     10    wgetcmd="curl -L -k -O"
    1111    echo "Using ftp command instead."
    1212  elif test `uname` = FreeBSD; then
     
    2323
    2424rm -f solvers.tar
    25 echo "Downloading the source code from www.netlib.org..."
    26 if ! $wgetcmd ftp://www.netlib.org/ampl/solvers.tar ;
     25
     26echo "Downloading the source code from projects.coin-or.org..."
     27if $wgetcmd https://projects.coin-or.org/svn/BuildTools/ThirdParty/ASL/src/solvers-20130815.tar ;
    2728then
     29  mv solvers-20130815.tar solvers.tar
     30else
    2831  echo
    29   echo "Failed, try downloading the source code from netlib.sandia.gov..."
    30   rm -f netlibfiles.tar*
    31   $wgetcmd http://netlib.sandia.gov/cgi-bin/netlib/netlibfiles.tar?filename=netlib/ampl/solvers
    32   mv netlibfiles.tar* solvers.tar
     32  echo "Failed, try downloading the source code from www.netlib.org..."
     33  if ! $wgetcmd ftp://www.netlib.org/ampl/solvers.tar ;
     34  then
     35    echo
     36    echo "Failed, try downloading the source code from netlib.sandia.gov..."
     37    rm -f netlibfiles.tar*
     38    $wgetcmd http://netlib.sandia.gov/cgi-bin/netlib/netlibfiles.tar?filename=netlib/ampl/solvers
     39    mv netlibfiles.tar* solvers.tar
     40  fi
    3341fi
    3442
Note: See TracChangeset for help on using the changeset viewer.