Changeset 496


Ignore:
Timestamp:
Aug 9, 2007 3:53:32 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/Mumps/branches/BSP/trunk/get.Mumps

    r389 r496  
    77set -e
    88
     9wgetcmd=wget
    910wgetcount=`which wget 2>/dev/null | wc -w`
    1011if test ! $wgetcount = 1; then
    1112  echo "Utility wget not found in your PATH."
    12   exit -1
     13  if test `uname` = Darwin; then
     14    wgetcmd=ftp
     15    echo "Using ftp command instead."
     16  else
     17    exit -1
     18  fi
    1319fi
    1420
     
    2026
    2127echo "Downloading the source code from ..."
    22 #wget http://graal.ens-lyon.fr/MUMPS/MUMPS_${mumps_ver}.tar.gz
    23 wget http://mumps.enseeiht.fr/MUMPS_${mumps_ver}.tar.gz
     28$wgetcmd http://mumps.enseeiht.fr/MUMPS_${mumps_ver}.tar.gz
    2429
    2530echo "Uncompressing the tarball..."
Note: See TracChangeset for help on using the changeset viewer.