This is an automated email from the git hooks/post-receive script.

sebastic-guest pushed a commit to branch master
in repository josm.

commit 07275cc3456ea53128212155579ab7ea3baf7be1
Author: Bas Couwenberg <sebas...@xs4all.nl>
Date:   Fri Nov 14 19:51:09 2014 +0100

    Strip comments from translations, but preserve copyright header.
---
 debian/changelog | 1 +
 debian/rules     | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 0039481..f50d43c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -13,6 +13,7 @@ josm (0.0.svn7643+dfsg1-2) UNRELEASED; urgency=medium
     - Add License section for GPL-1+
     - Add Files section for Diff source using GPL-1+
     (LP: #1273178)
+  * Strip comments from translations, but preserve copyright header.
 
  -- Bas Couwenberg <sebas...@xs4all.nl>  Sun, 26 Oct 2014 23:32:05 +0100
 
diff --git a/debian/rules b/debian/rules
index 990b203..0928f58 100755
--- a/debian/rules
+++ b/debian/rules
@@ -66,7 +66,7 @@ get-orig-source:
        bzr export -v ${DESTDIR}/i18n/po/ lp:~openstreetmap/josm/josm_trans/
        @echo Stripping comments from translations to save some space in the 
tarball
        for i in ${DESTDIR}/i18n/po/josm/*.po; do \
-               grep -v "^#" $$i > ${DESTDIR}/i18n/po/`basename $$i`; \
+               grep -E -v "^#[:,\.]" $$i > ${DESTDIR}/i18n/po/`basename $$i`; \
        done
        mv ${DESTDIR}/i18n/po/josm/*.pot ${DESTDIR}/i18n/po/
        rm -rf ${DESTDIR}/i18n/po/josm/

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-grass/josm.git

_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to