mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 09:14:18 +00:00
Use unset CDPATH instead of making it empty.
This commit is contained in:
parent
33ba5485ee
commit
691beae826
1 changed files with 1 additions and 1 deletions
|
|
@ -92,7 +92,7 @@ case "${srcdir}" in
|
||||||
## We may be able to use the $PWD environment variable to make this
|
## We may be able to use the $PWD environment variable to make this
|
||||||
## absolute. But sometimes PWD is inaccurate.
|
## absolute. But sometimes PWD is inaccurate.
|
||||||
## Make sure CDPATH doesn't affect cd (in case PWD is relative).
|
## 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`" ;
|
if test "${PWD}" != "" && test "`(cd ${PWD} ; sh -c pwd)`" = "`pwd`" ;
|
||||||
then
|
then
|
||||||
srcdir="$PWD"
|
srcdir="$PWD"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue