texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

texinfo/tp/maintain regenerate_converters_docum...


From: Patrice Dumas
Subject: texinfo/tp/maintain regenerate_converters_docum...
Date: Sun, 11 Nov 2012 16:30:27 +0000

CVSROOT:        /sources/texinfo
Module name:    texinfo
Changes by:     Patrice Dumas <pertusus>        12/11/11 16:30:27

Modified files:
        tp/maintain    : regenerate_converters_documentation.sh 

Log message:
        Add some exit in case of errors.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/maintain/regenerate_converters_documentation.sh?cvsroot=texinfo&r1=1.3&r2=1.4

Patches:
Index: regenerate_converters_documentation.sh
===================================================================
RCS file: 
/sources/texinfo/texinfo/tp/maintain/regenerate_converters_documentation.sh,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- regenerate_converters_documentation.sh      11 Nov 2012 16:25:04 -0000      
1.3
+++ regenerate_converters_documentation.sh      11 Nov 2012 16:30:26 -0000      
1.4
@@ -5,8 +5,8 @@
 # This file should be run when maintain/template.pod is modified.
 
 for format in HTML XML DocBook Info Plaintext; do
-  sed -e '/^__END__/q' Texinfo/Convert/$format.pm > 
Texinfo/Convert/$format.pm.$$.tmp
+  sed -e '/^__END__/q' Texinfo/Convert/$format.pm > 
Texinfo/Convert/$format.pm.$$.tmp || exit 1
   sed "s/OUTFORMAT/$format/g" maintain/template.pod > maintain/$format.pod
-  sed -e "/^__END__/r maintain/$format.pod" Texinfo/Convert/$format.pm.$$.tmp 
> Texinfo/Convert/$format.pm
+  sed -e "/^__END__/r maintain/$format.pod" Texinfo/Convert/$format.pm.$$.tmp 
> Texinfo/Convert/$format.pm || exit 1
   rm -f maintain/$format.pod Texinfo/Convert/$format.pm.$$.tmp
 done



reply via email to

[Prev in Thread] Current Thread [Next in Thread]