Browse Source

unset CDPATH

master
Matthieu Moy 10 years ago
parent
commit
a985a4fab0
  1. 8
      git-latexdiff

8
git-latexdiff

@ -41,6 +41,14 @@
set -o errexit
set -o noclobber
# (Comment and 'unset' line borrowed from Git's source code)
# Having this variable in your environment would break scripts because
# you would cause "cd" to be taken to unexpected places. If you
# like CDPATH, define it for your interactive shell sessions without
# exporting it.
# But we protect ourselves from such a user mistake nevertheless.
unset CDPATH
git_latexdiff_version='@GIT_LATEXDIFF_VERSION@'
git_latexdiff_compute_version () {

Loading…
Cancel
Save