This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] Unset CDPATH before running the configure script
- To: gdb-patches at sourceware dot cygnus dot com
- Subject: [PATCH] Unset CDPATH before running the configure script
- From: Eli Zaretskii <eliz at is dot elta dot co dot il>
- Date: Sun, 29 Jul 2001 13:19:32 +0300 (IDT)
I've committed the below (trunk and branch), to work around problems with
users who have CDPATH set in their environment. This was reported to
break the build.
2001-07-29 Eli Zaretskii <eliz@is.elta.co.il>
* config/djgpp/djconfig.sh: Unset CDPATH.
--- gdb/config/djgpp/djconfig.s~0 Mon Jun 4 09:49:40 2001
+++ gdb/config/djgpp/djconfig.sh Sun Jul 29 11:44:56 2001
@@ -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