MAKE DEB: use grep instead of egrep in debian/rules

git-svn-id: trunk@35758 -
This commit is contained in:
mazen 2012-03-06 09:19:46 +00:00
parent 3f332531f3
commit 80376953b7

2
debian/rules vendored
View File

@ -24,7 +24,7 @@ FPCVER=$(shell ${FPC} -iV)
FPCTARGET=$(CPU_TARGET)-linux
# Get version information from changelog file
DEB_VERSION:=$(shell dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ' ')
DEB_VERSION:=$(shell dpkg-parsechangelog | grep '^Version:' | cut -f 2 -d ' ')
DEB_UPSTREAM_VERSION:=$(shell echo $(DEB_VERSION) | cut -f 1 -d -)
DEB_UPSTREAM_MAIN_VERSION:=$(shell echo ${DEB_UPSTREAM_VERSION} | sed -e 's/^\([0-9\.]*\).*/\1/')
DEB_BUILD=$(lastword $(subst -, ,${DEB_VERSION}))