Modify version regex to comply with the new devflow
authorFilippos Giannakos <philipgian@grnet.gr>
Thu, 18 Jul 2013 13:12:44 +0000 (16:12 +0300)
committerFilippos Giannakos <philipgian@grnet.gr>
Mon, 22 Jul 2013 11:17:18 +0000 (14:17 +0300)
debian/rules

index 3287531..7c73e09 100755 (executable)
@@ -5,7 +5,7 @@
 
 .PHONY: override_dh_dkms override_dh_strip override_dh_installinit \
        override_dh_auto_build override_dh_fixperms
-export VERSION := $(shell head -n 1 debian/changelog | sed -r 's/.* \(([0-9](\.[1-9])+.*)-[0-9]+\) .*/\1/g')
+export VERSION := $(shell head -n 1 debian/changelog | sed -r 's/.* \(([0-9](\.[1-9])+.*)-[0-9]+.*\) .*/\1/g')
 ifeq ($(RAW_VERSION),)
 export RAW_VERSION := $(shell cat $(CURDIR)/version)
 endif