source: ThirdParty/ASL/releases/1.0.2/get.ASL @ 1848

Last change on this file since 1848 was 45, checked in by andreasw, 14 years ago

First version of ASL ThirtParty? directory

  • Property svn:executable set to *
File size: 583 bytes
Line 
1#!/bin/sh
2
3wgetcount=`which wget 2>/dev/null | wc -w`
4if test ! $wgetcount = 1; then
5  echo "Utility wget not found in your PATH."
6  exit -1
7fi
8
9echo " "
10echo "Running script for downloading the source code for the ASL"
11echo " "
12
13rm -f solvers.tar
14echo "Downloading the source code from www.netlib.org..."
15wget ftp://www.netlib.org/ampl/solvers.tar
16
17echo "Unpacking the source code..."
18tar xf solvers.tar
19
20echo "Uncompressing the source files..."
21gunzip -fr solvers
22
23echo "Deleting the tar file..."
24rm solvers.tar
25
26echo " "
27echo "Done downloading the source code for ASL."
28echo " "
29
Note: See TracBrowser for help on using the repository browser.