[maven-debian-helper] 01/01: Fixing --- line length in README.source

Steffen Möller moeller at alioth.debian.org
Thu Aug 29 09:16:03 UTC 2013


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

moeller pushed a commit to branch master
in repository maven-debian-helper.

commit 9884dbeb12d7435cf0138a4bbd93f9b4539b4b38
Author: Steffen Moeller <steffen_moeller at gmx.de>
Date:   Thu Aug 29 11:13:46 2013 +0200

    Fixing --- line length in README.source
    
    The length of the the separator underlining the
    package name (unsurprisingly but slighly tediously)
    depends on the length of the name of the package.
    The velocity-template of README.source now gained
    that flexibility.
---
 maven-packager-utils/src/main/resources/README.source.vm |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/maven-packager-utils/src/main/resources/README.source.vm b/maven-packager-utils/src/main/resources/README.source.vm
index 6a33619..917cb86 100644
--- a/maven-packager-utils/src/main/resources/README.source.vm
+++ b/maven-packager-utils/src/main/resources/README.source.vm
@@ -1,5 +1,8 @@
 Information about ${package}
-------------------------------
+#set($underline = "-")
+#set($end = $package.length())
+#foreach($i in [1 .. $end])$underline#end
+------------------
 
 This package was debianized using the mh_make command
 from the maven-debian-helper package.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/maven-debian-helper.git



More information about the pkg-java-commits mailing list