Wed Jan 19 20:39:17 2000 Jim Wilson <wilson@cygnus.com>
* fixinc/inclhack.tpl: Test for directory before trying to cd into it.
* fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
From-SVN: r32407
Tue Mar 7 21:41:17 2000 Jeffrey A Law (law@cygnus.com)
+ Wed Jan 19 20:39:17 2000 Jim Wilson <wilson@cygnus.com>
+ * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
+ * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
+
Tue Oct 12 09:45:19 1999 Jonathan Larmour <jlarmour@cygnus.co.uk>
* config/rs6000/eabi-ctors.c (__do_global_ctors): Run through
__CTOR_LIST__ in opposite order, which is the correct order for sorted
cd ${ORIGDIR}
-cd ${INPUT} || continue
+# This originally used cd || continue, however, that does not work with the
+# Solaris2 /bin/sh.
+if [ ! -d ${INPUT} ]; then
+ continue
+fi
+cd ${INPUT}
INPUT=`${PWDCMD}`
#
cd ${ORIGDIR}
-cd ${INPUT} || continue
+# This originally used cd || continue, however, that does not work with the
+# Solaris2 /bin/sh.
+if [ ! -d ${INPUT} ]; then
+ continue
+fi
+cd ${INPUT}
INPUT=`${PWDCMD}`
#
cd ${ORIGDIR}
-cd ${INPUT} || continue
+# This originally used cd || continue, however, that does not work with the
+# Solaris2 /bin/sh.
+if [ ! -d ${INPUT} ]; then
+ continue
+fi
+cd ${INPUT}
INPUT=`${PWDCMD}`
#