[bollin] r5071 committed - use grep instead of egrep in debian/rules

0 views
Skip to first unread message

bol...@googlecode.com

unread,
Feb 29, 2012, 8:38:41 AM2/29/12
to debian...@googlegroups.com
Revision: 5071
Author: mail.t...@gmail.com
Date: Wed Feb 29 05:38:20 2012
Log: use grep instead of egrep in debian/rules

http://code.google.com/p/bollin/source/detail?r=5071

Modified:
/lazarus/trunk/debian/rules

=======================================
--- /lazarus/trunk/debian/rules Wed Feb 29 03:30:24 2012
+++ /lazarus/trunk/debian/rules Wed Feb 29 05:38:20 2012
@@ -24,7 +24,7 @@

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}))

Reply all
Reply to author
Forward
0 new messages