Changeset 2845
- Timestamp:
- Aug 15, 2013 6:34:48 AM (7 years ago)
- Location:
- ThirdParty/ASL/stable/1.2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
ThirdParty/ASL/stable/1.2
- Property svn:mergeinfo changed
/ThirdParty/ASL/trunk merged: 2843-2844
- Property svn:mergeinfo changed
-
ThirdParty/ASL/stable/1.2/get.ASL
r2826 r2845 8 8 echo "Utility wget not found in your PATH." 9 9 if test `uname` = Darwin; then 10 wgetcmd= ftp10 wgetcmd="curl -L -k -O" 11 11 echo "Using ftp command instead." 12 12 elif test `uname` = FreeBSD; then … … 23 23 24 24 rm -f solvers.tar 25 echo "Downloading the source code from www.netlib.org..." 26 if ! $wgetcmd ftp://www.netlib.org/ampl/solvers.tar ; 25 26 echo "Downloading the source code from projects.coin-or.org..." 27 if $wgetcmd https://projects.coin-or.org/svn/BuildTools/ThirdParty/ASL/src/solvers-20130815.tar ; 27 28 then 29 mv solvers-20130815.tar solvers.tar 30 else 28 31 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 33 41 fi 34 42
Note: See TracChangeset
for help on using the changeset viewer.