From c2d8d3ffc4b4a0fa47684066b1b24de42a604d72 Mon Sep 17 00:00:00 2001 From: Simon Kelley Date: Wed, 11 Sep 2013 15:52:22 +0100 Subject: [PATCH] Debian packing. remove unwanted '-' in version number using gitversion. --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index b6671f4..ca1f0c9 100755 --- a/debian/rules +++ b/debian/rules @@ -25,7 +25,7 @@ DEB_BUILD_ARCH_OS := $(shell dpkg-architecture -qDEB_BUILD_ARCH_OS) # Force package version based on git tags. ifneq (,$(filter gitversion,$(DEB_BUILD_OPTIONS))) - PACKAGE_VERSION = $(shell bld/get-version `pwd` | sed 's/[a-z]/~&/; s/$$/-1/; s/^/-v/') + PACKAGE_VERSION = $(shell bld/get-version `pwd` | sed 's/[a-z]/~&/; s/-/./g; s/$$/-1/; s/^/-v/';) endif ifeq (,$(filter nodbus,$(DEB_BUILD_OPTIONS)))