aboutsummaryrefslogtreecommitdiff
path: root/gdb/config/djgpp
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2001-07-29 10:12:49 +0000
committerEli Zaretskii <eliz@gnu.org>2001-07-29 10:12:49 +0000
commitf959bc4156d842940daaa36ba1a35a146be4a329 (patch)
tree3af7dafb54e3306d9c6711775e9449abe239bd50 /gdb/config/djgpp
parenta3b9cbb3390a75eb4f190cd4133c0efa025b91af (diff)
downloadgdb-f959bc4156d842940daaa36ba1a35a146be4a329.zip
gdb-f959bc4156d842940daaa36ba1a35a146be4a329.tar.gz
gdb-f959bc4156d842940daaa36ba1a35a146be4a329.tar.bz2
Unset CDPATH before doing annything else.
Diffstat (limited to 'gdb/config/djgpp')
-rw-r--r--gdb/config/djgpp/djconfig.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/config/djgpp/djconfig.sh b/gdb/config/djgpp/djconfig.sh
index 65a4df8..cb9664b 100644
--- a/gdb/config/djgpp/djconfig.sh
+++ b/gdb/config/djgpp/djconfig.sh
@@ -30,6 +30,10 @@
# want to pass parameters to configure, you have to pass as the first
# argument the srcdir, even when it is `.' !!!!!
#
+# First, undo any CDPATH settings; they will get in our way when we
+# chdir to directories.
+unset CDPATH
+
# Where are the sources? If you are used to having the sources
# in a separate directory and the objects in another, then set
# here the full path to the source directory and run this script