dots/commonsh/10_git
David Alexander Majnemer b3c9a9c6e9 - fixed a bug here and there
- made it fully sh compliant (works even with solaris sh)
2009-01-03 14:15:00 -06:00

24 lines
447 B
Bash
Executable file

#! /bin/sh
if [ -d /usr/local/git/man ] ; then
if [ -z "${MANPATH}" ] ; then
MANPATH="/usr/local/git/man":`manpath`
else
MANPATH="/usr/local/git/man:${MANPATH}"
fi
export MANPATH
fi
if [ -d /usr/local/git/bin ] ; then
if [ -z "${PATH}" ] ; then
PATH="/usr/local/git/bin"
else
PATH="/usr/local/git/bin:${PATH}"
fi
fi
if [ -d /usr/local/git/libexec/git-core ] ; then
PATH="/usr/local/git/libexec/git-core:${PATH}"
fi
export PATH