diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 68a099656f104a6e80befbb6f8aec643444008b1..78e6fc294dc261dea3f953f180f5139631262bb4 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2006-02-21  Joseph S. Myers  <joseph@codesourcery.com>
+
+	* doc/install.texi2html: Use set -e.
+
 2006-02-21  Richard Sandiford  <richard@codesourcery.com>
 
 	* doc/tm.texi (ASM_OUTPUT_SHARED_COMMON, ASM_OUTPUT_SHARED_BSS)
diff --git a/gcc/doc/install.texi2html b/gcc/doc/install.texi2html
index 0f792eac10ffdd32b9ec66b937e112e9c50cba54..44da873b7f62c4024fb6488b9f2dfae2532adfa4 100755
--- a/gcc/doc/install.texi2html
+++ b/gcc/doc/install.texi2html
@@ -5,13 +5,15 @@
 # $SOURCEDIR and $DESTDIR, resp., refer to the directory containing
 # the texinfo source and the directory to put the HTML version in.
 #
-# (C) 2001 Free Software Foundation
+# (C) 2001, 2003, 2006 Free Software Foundation
 # Originally by Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>, June 2001.
 #
 # This script is Free Software, and it can be copied, distributed and
 # modified as defined in the GNU General Public License.  A copy of
 # its license can be downloaded from http://www.gnu.org/copyleft/gpl.html
 
+set -e
+
 SOURCEDIR=${SOURCEDIR-.}
 DESTDIR=${DESTDIR-HTML}