source: issm/trunk-jpl/externalpackages/git/install-macosx64-sierra.sh@ 23435

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
2set -eu
3
4#Some cleanup
5rm -rf src install git-1.7.10.2
6mkdir 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
12tar -zxvf git-1.7.10.2.tar.gz
13
14#Move git into install directory
15mv git-1.7.10.2/* src
16rm -rf git-1.7.10.2
17
18#install
19cd 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
24make install
Note: See TracBrowser for help on using the repository browser.