diff options
author | Richard M. Stallman <rms@gnu.org> | 1998-06-30 22:15:41 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1998-06-30 22:15:41 +0000 |
commit | 691beae8263f27b1888cb14e719822bbe82b68c6 (patch) | |
tree | 4f0482ec2f1c3e3eed1c57df9f081bd626cce5d8 /configure.in | |
parent | 33ba5485ee492cc17c037e7ff97eccd305f57cb0 (diff) | |
download | emacs-691beae8263f27b1888cb14e719822bbe82b68c6.tar.gz |
Use unset CDPATH instead of making it empty.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 484839b46d3..7686b43c64f 100644 --- a/configure.in +++ b/configure.in @@ -92,7 +92,7 @@ case "${srcdir}" in ## We may be able to use the $PWD environment variable to make this ## absolute. But sometimes PWD is inaccurate. ## Make sure CDPATH doesn't affect cd (in case PWD is relative). - CDPATH= + unset CDPATH if test "${PWD}" != "" && test "`(cd ${PWD} ; sh -c pwd)`" = "`pwd`" ; then srcdir="$PWD" |