Hi,

Please consider this patch.  It helped me a lot to detect errors when
importing gendocs.sh into Multiboot.

2010-01-01  Robert Millan  <[email protected]>

* gendocs.sh: Use `set -e' mode.

-- 
Robert Millan

  "Be the change you want to see in the world" -- Gandhi
--- gendocs.sh	2010-01-01 21:07:59.000000000 +0100
+++ mine.sh	2010-01-01 20:56:46.000000000 +0100
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/sh -e
 # gendocs.sh -- generate a GNU manual in many formats.  This script is
 #   mentioned in maintain.texi.  See the help message below for usage details.
 
@@ -268,7 +268,7 @@
 fi
 
 echo Making .tar.gz for sources...
-srcfiles=`ls *.texinfo *.texi *.txi *.eps 2>/dev/null`
+srcfiles=`ls *.texinfo *.texi *.txi *.eps 2>/dev/null` || true
 tar cvzfh $outdir/$PACKAGE.texi.tar.gz $srcfiles
 texi_tgz_size=`calcsize $outdir/$PACKAGE.texi.tar.gz`
 

Reply via email to