+2000-01-21 Jim Wilson <wilson@cygnus.com>
+
+ * fixinc/inclhack.tpl: Test for directory before trying to cd into it.
+ * fixinc/fixincl.sh, fixinc/inclhack.sh: Regenerate.
+
2000-01-21 Zack Weinberg <zack@wolery.cumb.org>
* cpphash.c (change_newlines): Delete function.
cd ${ORIGDIR}
-cd ${INPUT} || continue
+# Make sure a directory exists before changing into it,
+# otherwise Solaris2 will fail-exit the script.
+#
+if [ ! -d ${INPUT} ]; then
+ continue
+fi
+cd ${INPUT}
+
INPUT=`${PWDCMD}`
#
cd ${ORIGDIR}
-cd ${INPUT} || continue
+# Make sure a directory exists before changing into it,
+# otherwise Solaris2 will fail-exit the script.
+#
+if [ ! -d ${INPUT} ]; then
+ continue
+fi
+cd ${INPUT}
+
INPUT=`${PWDCMD}`
#
cd ${ORIGDIR}
-cd ${INPUT} || continue
+# Make sure a directory exists before changing into it,
+# otherwise Solaris2 will fail-exit the script.
+#
+if [ ! -d ${INPUT} ]; then
+ continue
+fi
+cd ${INPUT}
+
INPUT=`${PWDCMD}`
#