[zoo-project] 02/02: Fix version detection.

Bas Couwenberg sebastic at debian.org
Thu Jan 19 20:13:05 UTC 2017


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

sebastic pushed a commit to branch master
in repository zoo-project.

commit f5a8a8b7d14dd15bf8a8703569175bcaa025d97a
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Thu Jan 19 21:03:37 2017 +0100

    Fix version detection.
---
 debian/rules | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/rules b/debian/rules
index b267938..c8310ab 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,11 +6,11 @@ export DEB_BUILD_MAINT_OPTIONS=hardening=+all,-pie
 
 UPSTREAM_VERSION=$(shell dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p' | sed -e 's/\+.*//; s/^[0-9]://')
 
-MAPSERVER_VERSION=$(shell dpkg-query -W -f='${Version}' libmapserver-dev | awk -F. '{ print $1 }')
+MAPSERVER_VERSION=$(shell dpkg-query -W -f='$${Version}' libmapserver-dev | awk -F. '{ print $$1 }')
 
-ITK_VERSION=$(shell dpkg-query -W -f='${Version}' libinsighttoolkit4-dev | awk -F. '{ print $1"."$2 }')
+ITK_VERSION=$(shell dpkg-query -W -f='$${Version}' libinsighttoolkit4-dev | awk -F. '{ print $$1"."$$2 }')
 
-OTB_VERSION=$(shell dpkg-query -W -f='${Version}' libotb-dev | awk -F. '{ print $1"."$2 }')
+OTB_VERSION=$(shell dpkg-query -W -f='$${Version}' libotb-dev | awk -F. '{ print $$1"."$$2 }')
 
 %:
 	dh $@ --with autoreconf --parallel

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



More information about the Pkg-grass-devel mailing list