Last change
on this file since 453 was
387,
checked in by andreasw, 14 years ago
|
make sure get.ASL script exits if there is a failure
|
-
Property svn:executable set to
*
|
File size:
654 bytes
|
Rev | Line | |
---|
[49] | 1 | #!/bin/sh |
---|
| 2 | |
---|
[387] | 3 | set -e |
---|
| 4 | |
---|
[49] | 5 | wgetcount=`which wget 2>/dev/null | wc -w` |
---|
| 6 | if test ! $wgetcount = 1; then |
---|
| 7 | echo "Utility wget not found in your PATH." |
---|
| 8 | exit -1 |
---|
| 9 | fi |
---|
| 10 | |
---|
| 11 | echo " " |
---|
| 12 | echo "Running script for downloading the source code for BLAS" |
---|
| 13 | echo " " |
---|
| 14 | |
---|
| 15 | rm -f blas.tgz |
---|
| 16 | |
---|
| 17 | echo "Downloading the source code from www.netlib.org..." |
---|
| 18 | wget ftp://www.netlib.org/blas/blas.tgz |
---|
| 19 | |
---|
| 20 | echo "Uncompressing the tarball..." |
---|
| 21 | gunzip -f blas.tgz |
---|
| 22 | |
---|
| 23 | echo "Unpacking the source code..." |
---|
| 24 | tar xf blas.tar |
---|
| 25 | |
---|
| 26 | echo "Deleting the tar file..." |
---|
| 27 | rm blas.tar |
---|
| 28 | |
---|
[288] | 29 | echo "Moving the source files from BLAS subdirectory" |
---|
| 30 | mv BLAS/*.f . |
---|
| 31 | rm -rf BLAS |
---|
| 32 | |
---|
[49] | 33 | echo " " |
---|
| 34 | echo "Done downloading the source code for BLAS." |
---|
| 35 | echo " " |
---|
| 36 | |
---|
Note: See
TracBrowser
for help on using the repository browser.