mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 09:59:01 +02:00
MAKE DEB: use grep instead of egrep in debian/rules
git-svn-id: trunk@35758 -
This commit is contained in:
parent
3f332531f3
commit
80376953b7
2
debian/rules
vendored
2
debian/rules
vendored
@ -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}))
|
||||
|
Loading…
Reference in New Issue
Block a user