Last active
September 6, 2015 18:44
-
-
Save pine/e06df0030b2face58508 to your computer and use it in GitHub Desktop.
Installing Git 2.5.1 for OpenShift
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
cd $OPENSHIFT_DATA_DIR | |
mkdir -p build | |
cd build | |
wget https://github.com/git/git/archive/v2.5.1.zip | |
unzip v2.5.1.zip | |
cd git-2.5.1 | |
autoconf | |
./configure --prefix=$OPENSHIFT_DATA_DIR/git --with-expat | |
make all | |
make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment