Last change
on this file since 23435 was 23435, checked in by jdquinn, 6 years ago |
CHG: Renamed download_external_package.bash -> DownloadExternalPackage.sh and updated calls to it in install scripts
|
-
Property svn:executable
set to
*
|
File size:
603 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 | set -eu
|
---|
3 |
|
---|
4 | #Some cleanup
|
---|
5 | rm -rf src install git-1.7.10.2
|
---|
6 | mkdir install src
|
---|
7 |
|
---|
8 | #Download from ISSM server
|
---|
9 | $ISSM_DIR/scripts/DownloadExternalPackage.sh 'https://issm.ess.uci.edu/files/externalpackages/git-1.7.10.2.tar.gz' 'git-1.7.10.2.tar.gz'
|
---|
10 |
|
---|
11 | #Untar
|
---|
12 | tar -zxvf git-1.7.10.2.tar.gz
|
---|
13 |
|
---|
14 | #Move git into install directory
|
---|
15 | mv git-1.7.10.2/* src
|
---|
16 | rm -rf git-1.7.10.2
|
---|
17 |
|
---|
18 | #install
|
---|
19 | cd src
|
---|
20 | ./configure CFLAGS="-I/usr/local/include" --prefix="$ISSM_DIR/externalpackages/git/install"
|
---|
21 | # --with-python="$ISSM_DIR/externalpackages/python/install/bin/python" #Do we really need this line?
|
---|
22 |
|
---|
23 | #Compile
|
---|
24 | make install
|
---|
Note:
See
TracBrowser
for help on using the repository browser.