Changeset 2843 for ThirdParty/ASL


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

update get scripts to first try downloading from coin-or svn repo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ThirdParty/ASL/trunk/get.ASL

    r2823 r2843  
    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.