summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2001-02-04 07:52:33 +0000
committerEli Zaretskii <eliz@gnu.org>2001-02-04 07:52:33 +0000
commit13f3b68b8ab295850606fa4e229acb4c2f50ab4e (patch)
treed47657d62a73e2024c497de9185d6bebc6ef65ac
parent22ead5c995624f08d37d8924f36e9458f8f0d213 (diff)
downloadgdb-13f3b68b8ab295850606fa4e229acb4c2f50ab4e.tar.gz
* config/djgpp/djconfig.sh: Use explicit absolute file name when
invoking `find'.
-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 59e3f0ec56b..90fb941b5f7 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 32ef352bb3e..241f6dd57e4 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