Changeset 495


Ignore:
Timestamp:
Aug 9, 2007 3:52:51 PM (13 years ago)
Author:
andreasw
Message:

on Darwin, use ftp if wget is not there for download

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ThirdParty/Lapack/branches/BSP/trunk/get.Lapack

    r388 r495  
    33set -e
    44
     5wgetcmd=wget
    56wgetcount=`which wget 2>/dev/null | wc -w`
    67if test ! $wgetcount = 1; then
    78  echo "Utility wget not found in your PATH."
    8   exit -1
     9  if test `uname` = Darwin; then
     10    wgetcmd=ftp
     11    echo "Using ftp command instead."
     12  else
     13    exit -1
     14  fi
    915fi
    1016
     
    1521rm -f lapack.tgz
    1622echo "Downloading the source code from www.netlib.org..."
    17 wget ftp://www.netlib.org/lapack/lapack-lite-3.1.0.tgz
     23$wgetcmd ftp://www.netlib.org/lapack/lapack-lite-3.1.0.tgz
    1824
    1925echo "Uncompressing the tarball..."
Note: See TracChangeset for help on using the changeset viewer.