1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-08-17 17:08:20 +02:00

Unset CDPATH. Otherwise, having the

CDPATH shell variable set could cause this test to fail.
This commit is contained in:
Jim Meyering
2003-03-19 08:15:14 +00:00
parent 7c76b720e8
commit b01894ce34
+4
View File
@@ -20,6 +20,10 @@ pwd_tmp=$pwd/$tmp
# Make sure the programs use C-locale formats/translations.
. $srcdir/../lang-default
# Unset CDPATH. Otherwise, output from the `cd dir' command
# can make this test fail.
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
if test -z "$other_partition_tmpdir"; then
(exit 77); exit
fi