This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[PATCH] Unset CDPATH before running the configure script


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]