diff contrib/make_flys_release/bin/make-importer-package.sh @ 7334:f7d3fc619976 double-precision

Importer manual: use unique revision identifier.
author Tom Gottfried <tom@intevation.de>
date Tue, 15 Oct 2013 15:32:36 +0200
parents bb9735fbb680
children 32682fa2127d
line wrap: on
line diff
--- a/contrib/make_flys_release/bin/make-importer-package.sh	Tue Oct 15 15:25:09 2013 +0200
+++ b/contrib/make_flys_release/bin/make-importer-package.sh	Tue Oct 15 15:32:36 2013 +0200
@@ -48,9 +48,9 @@
 cp ${FLYS_DIR}/backend/doc/schema/*.sql $PKG_DIR/schema
 
 # create PDF of manual
-REV=`hg parent | sed -n '1s/[[:alnum:]]*: *\([0-9]*\):.*/\1/;1p'`
+REV=`hg parent | sed -n '1s/[[:alnum:]]*: *\([0-9]*:.*\)/\1/;1p'`
 cd ${FLYS_DIR}/backend/doc/documentation/de/
-sed -i "s/documentrevision..rev[0-9]*/documentrevision}{rev$REV/" \
+sed -i "s/documentrevision..rev.*/documentrevision}{rev$REV}/" \
     importer-manual.tex
 # run pdflatex three times to get references and page numbering right
 pdflatex importer-manual.tex

http://dive4elements.wald.intevation.org