Ignore:
Timestamp:
Aug 21, 2007 2:05:00 PM (14 years ago)
Author:
andreasw
Message:

sychronizing trunk rev 534 with ASL/stable/1.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ThirdParty/ASL/stable/1.0/get.ASL

    r45 r535  
    11#!/bin/sh
    22
     3set -e
     4
     5wgetcmd=wget
    36wgetcount=`which wget 2>/dev/null | wc -w`
    47if test ! $wgetcount = 1; then
    58  echo "Utility wget not found in your PATH."
    6   exit -1
     9  if test `uname` = Darwin; then
     10    wgetcmd=ftp
     11    echo "Using ftp command instead."
     12  else
     13    exit -1
     14  fi
    715fi
    816
     
    1321rm -f solvers.tar
    1422echo "Downloading the source code from www.netlib.org..."
    15 wget ftp://www.netlib.org/ampl/solvers.tar
     23$wgetcmd ftp://www.netlib.org/ampl/solvers.tar
    1624
    1725echo "Unpacking the source code..."
Note: See TracChangeset for help on using the changeset viewer.