This file contains 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
# note that this file needs execute permissions to run, which can be done by running "chmod u+rwx ./install_git_on_parallel.sh" (without quotes) | |
# this script based on: | |
# http://joemaller.com/908/how-to-install-git-on-a-shared-host/ | |
# http://stackoverflow.com/questions/9500898/compiler-error-msgfmt-command-not-found-when-compiling-git-on-a-shared-hosting | |
# update $PATH | |
echo "# the following two lines added by install_git_on_parallel.sh" >> ~/.bashrc | |
echo "export PATH=$HOME/opt/bin:$PATH" >> ~/.bashrc | |
echo ". $HOME/opt/contrib/completion/git-completion.bash" >> ~/.bashrc | |
. ~/.bashrc |