Last active
December 14, 2015 09:19
-
-
Save zerodogg/5063951 to your computer and use it in GitHub Desktop.
Wrapper script for the git-annex precompiled linux tarball
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
#!/bin/sh | |
# Put this file into the git-annex.linux directory extracted from the tarball, | |
# and then symlink it into your path as "git". | |
# Ie: | |
# ln -s "$PWD/gitwrap.sh" "$HOME/bin/git" | |
# or | |
# ln -s "$PWD/gitwrap.sh" "/usr/local/bin/git" | |
# | |
# Afterwards you can verify that you're using the git annex version from | |
# the tarball with: | |
# git annex version | |
BASE="`basename "$0"`" | |
DIR="`realpath "$0"`" | |
DIR="`dirname "$DIR"`" | |
exec "$DIR/runshell" "$BASE" "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment