TT#34318 Use dpkg-parsechangelog instead of 'head | sed'

Change-Id: I54dadc79be469f88a2061fd305989be01a94ff3e
changes/02/19902/3
Alexander Lutay 9 years ago
parent 294437d3db
commit 8451154c8a

3
debian/rules vendored

@ -2,8 +2,7 @@
# Uncomment this to turn on verbose mode.
# export DH_VERBOSE=1
DEBVERSION:=$(shell head -n 1 debian/changelog \
| sed -e 's/^[^(]*(\([^)]*\)).*/\1/')
DEBVERSION:=$(shell dpkg-parsechangelog -SVersion)
ifneq ($(GIT_COMMIT),)
export NGCP_VERSION := $(GIT_COMMIT)

Loading…
Cancel
Save