[snappy-java] 02/03: Minor simplification in debian/rules suggested by Aaron M. Ucko

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Mar 12 15:36:35 UTC 2015


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

ebourg-guest pushed a commit to branch master
in repository snappy-java.

commit 248aedad70247ca46ef3bb25e2b01b2a629df9e9
Author: Emmanuel Bourg <ebourg at apache.org>
Date:   Thu Mar 12 16:31:36 2015 +0100

    Minor simplification in debian/rules suggested by Aaron M. Ucko
---
 debian/rules | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index 1d1b0a4..2cd44cd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,8 +11,7 @@ include /usr/share/dpkg/buildflags.mk
 	dh $@ --buildsystem=maven
 
 override_dh_auto_configure:
-	cp debian/pom.xml .
-	sed -i 's/%VERSION%/$(DEB_UPSTREAM_VERSION)/g' pom.xml
+	sed -e 's/%VERSION%/$(DEB_UPSTREAM_VERSION)/g' debian/pom.xml > pom.xml
 	dh_auto_configure
 
 override_dh_auto_build-arch:

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



More information about the pkg-java-commits mailing list