changeset 1972:d85cf6d52166

package binutils: fix update macro
author Mark Brand <mabrand@mabrand.nl>
date Thu, 01 Sep 2011 09:18:32 +0200
parents ffed90770a93
children 171bdb86a6ac
files src/binutils.mk
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/binutils.mk	Sun Aug 28 21:26:01 2011 +0200
+++ b/src/binutils.mk	Thu Sep 01 09:18:32 2011 +0200
@@ -16,6 +16,7 @@
 define $(PKG)_UPDATE
     wget -q -O- 'http://ftp.gnu.org/gnu/binutils/?C=M;O=D' | \
     $(SED) -n 's,.*<a href="binutils-\([0-9][^"]*\)\.tar.*,\1,p' | \
+    grep '^2\.[2-9][1-9]' | \
     head -1
 endef