Last active
October 10, 2015 10:47
-
-
Save muratayusuke/3677821 to your computer and use it in GitHub Desktop.
global
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
################################## | |
# usage | |
################################## | |
# 1. cd /usr/local/src | |
# 2. wget https://gist.github.com/raw/3677821/c20a62a45a0d92be6190a319d7b98bdbf8dbeadb/global.sh | |
# 3. sudo sh global.sh ${version} | |
################################## | |
cd /usr/local/src | |
GB_VER=$1 | |
wget http://tamacom.com/global/global-${GB_VER}.tar.gz | |
tar xzf global-${GB_VER}.tar.gz | |
cd global-${GB_VER} | |
./configure --prefix=/usr/local/global-${GB_VER} --with-exuberant-ctags=/usr/bin/ctags-exuberant | |
make | |
make install | |
cd /usr/local/ | |
if [ -L global ];then | |
rm global | |
fi | |
ln -s global-${GB_VER} global |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment