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

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

File:
1 edited

Legend:

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

    r387 r493  
    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
     
    1622
    1723echo "Downloading the source code from www.netlib.org..."
    18 wget ftp://www.netlib.org/blas/blas.tgz
     24$wgetcmd ftp://www.netlib.org/blas/blas.tgz
    1925
    2026echo "Uncompressing the tarball..."
Note: See TracChangeset for help on using the changeset viewer.