The following commit has been merged in the master branch:
commit 7cdaeb8a1cf5d69dafca107ab30dfad3ece1ee16
Author: Guillem Jover <[email protected]>
Date:   Thu Sep 22 04:18:05 2011 +0200

    scripts/mk: Simplify sed expression for DEB_DISTRIBUTION

diff --git a/scripts/mk/pkg-info.mk b/scripts/mk/pkg-info.mk
index 1f385f9..31f7cb2 100644
--- a/scripts/mk/pkg-info.mk
+++ b/scripts/mk/pkg-info.mk
@@ -14,4 +14,4 @@ DEB_VERSION = $(call 
dpkg_late_eval,DEB_VERSION,dpkg-parsechangelog | awk '/^Ver
 DEB_VERSION_EPOCH_UPSTREAM = $(call 
dpkg_late_eval,DEB_VERSION_EPOCH_UPSTREAM,echo '$(DEB_VERSION)' | sed -e 
's/-[^-]*$$//')
 DEB_VERSION_UPSTREAM_REVISION = $(call 
dpkg_late_eval,DEB_VERSION_UPSTREAM_REVISION,echo '$(DEB_VERSION)' | sed -e 
's/^[0-9]*://')
 DEB_VERSION_UPSTREAM = $(call dpkg_late_eval,DEB_VERSION_UPSTREAM,echo 
'$(DEB_VERSION_EPOCH_UPSTREAM)' | sed -e 's/^[0-9]*://')
-DEB_DISTRIBUTION = $(call dpkg_late_eval,DEB_DISTRIBUTION,dpkg-parsechangelog 
| sed -n -e '/^Distribution: / { s/^Distribution: //; p }')
+DEB_DISTRIBUTION = $(call dpkg_late_eval,DEB_DISTRIBUTION,dpkg-parsechangelog 
| sed -n -e 's/^Distribution: //p')

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to