This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH]: Avoid invoking DOS/Windows FIND.EXE
- To: gdb-patches at sourceware dot cygnus dot com
- Subject: [PATCH]: Avoid invoking DOS/Windows FIND.EXE
- From: Eli Zaretskii <eliz at is dot elta dot co dot il>
- Date: Sun, 4 Feb 2001 09:52:38 +0200 (IST)
FYI: I committed today the following patch to djconfig.sh:
2001-02-04 Eli Zaretskii <eliz@is.elta.co.il>
* config/djgpp/djconfig.sh: Use explicit absolute file name when
invoking `find'.
--- gdb/config/djgpp/djconfig.s~0 Mon May 8 18:06:26 2000
+++ gdb/config/djgpp/djconfig.sh Sat Feb 3 21:02:16 2001
@@ -59,8 +59,11 @@
SKIPDIR=`pwd | sed -e "s|${srcdir}|.|"`
SKIPFILES="${SKIPDIR}/*"
fi
+
+# We use explicit /dev/env/DJDIR/bin/find to avoid catching
+# an incompatible DOS/Windows version that might be on their PATH.
for fix_dir in \
- `cd $srcdir && find . -type d ! -ipath "${SKIPDIR}" ! -ipath "${SKIPFILES}"`
+ `cd $srcdir && /dev/env/DJDIR/bin/find . -type d ! -ipath "${SKIPDIR}" ! -ipath "${SKIPFILES}"`
do
if test ! -f ${fix_dir}/configure.orig ; then
if test -f ${srcdir}/${fix_dir}/configure ; then