aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog3
-rw-r--r--gdb/config/djgpp/djconfig.sh5
2 files changed, 7 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 59e3f0e..90fb941 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,8 @@
2001-02-04 Eli Zaretskii <eliz@is.elta.co.il>
+ * config/djgpp/djconfig.sh: Use explicit absolute file name when
+ invoking `find'.
+
* ser-go32.c (dos_write) [UART_FIFO_WORKS]: Use outportsb only if
UART_FIFO_WORKS is defined. Otherwise use outportb.
From Francisco Pastor <fpastor.etra-id@etra.es>
diff --git a/gdb/config/djgpp/djconfig.sh b/gdb/config/djgpp/djconfig.sh
index 32ef352..241f6dd 100644
--- a/gdb/config/djgpp/djconfig.sh
+++ b/gdb/config/djgpp/djconfig.sh
@@ -59,8 +59,11 @@ else
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