Commit 691beae8 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

Use unset CDPATH instead of making it empty.

parent 33ba5485
......@@ -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"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment