Last active
December 25, 2015 14:19
-
-
Save ipoerner/6990535 to your computer and use it in GitHub Desktop.
Tig update script... somewhat similar to the Git update script.
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/sh | |
set -e | |
: ${PROJECTS:="/opt/git/other"} | |
(cd "$PROJECTS/tig/" | |
git fetch --tags | |
git pull origin master | |
cp contrib/config.make . | |
sudo make -j4 prefix=/usr/local/ install install-doc-man | |
) | |
tig --version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment