From 2dca038bf919299657d432b804b758164a57c01a Mon Sep 17 00:00:00 2001 From: Pierre-Luc Dion Date: Wed, 26 Aug 2015 08:03:55 -0400 Subject: [PATCH] fix debian package after addition of license header in pom.xml --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index b88e245c25c..4a95c6d3768 100755 --- a/debian/rules +++ b/debian/rules @@ -1,6 +1,6 @@ #!/usr/bin/make -f # -*- makefile -*- -VERSION := $(shell cat pom.xml |sed '22!d'| cut -d'>' -f2 |cut -d'<' -f1) +VERSION := $(shell grep '^ ' pom.xml| cut -d'>' -f2 |cut -d'<' -f1) PACKAGE = $(shell dh_listpackages|head -n 1|cut -d '-' -f 1) SYSCONFDIR = "/etc" DESTDIR = "debian/tmp"