[PATCH] Importer manual: use unique revision identifier

Wald Commits scm-commit at wald.intevation.org
Tue Oct 15 15:32:40 CEST 2013


# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1381843956 -7200
# Branch double-precision
# Node ID f7d3fc619976da697d93ffbbe6bdd668637a69ef
# Parent  bb9735fbb680b9b29db34009223b808828fa2d75
Importer manual: use unique revision identifier.

diff -r bb9735fbb680 -r f7d3fc619976 contrib/make_flys_release/bin/make-importer-package.sh
--- 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


More information about the Dive4elements-commits mailing list