summaryrefslogtreecommitdiffstats
path: root/src/dbus.mk
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2013-05-22 09:33:04 (GMT)
committerTony Theodore <tonyt@logyst.com>2013-05-22 09:33:04 (GMT)
commit6188de2ed34a0d00b3845e9b1fbd43bf9963a01b (patch)
treefd6e122394a96e70f8a2930ad4ad0c6e9343edae /src/dbus.mk
parent943ab6a7ee0eb6748b4dcf0c9bd08592722b55ce (diff)
downloadmxe-6188de2ed34a0d00b3845e9b1fbd43bf9963a01b.zip
mxe-6188de2ed34a0d00b3845e9b1fbd43bf9963a01b.tar.gz
mxe-6188de2ed34a0d00b3845e9b1fbd43bf9963a01b.tar.bz2
various packages: remove grep workarounds for version sorting
Diffstat (limited to 'src/dbus.mk')
-rw-r--r--src/dbus.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dbus.mk b/src/dbus.mk
index 3ae2824..8c8b2c6 100644
--- a/src/dbus.mk
+++ b/src/dbus.mk
@@ -12,8 +12,8 @@ $(PKG)_DEPS := gcc expat
define $(PKG)_UPDATE
$(WGET) -q -O- 'http://cgit.freedesktop.org/dbus/dbus/refs/tags' | \
$(SED) -n "s,.*<a href='[^']*/tag/?id=[^0-9]*\\([0-9][^']*\\)'.*,\\1,p" | \
- grep -v '^1\.[01234]\.' | \
- head -1
+ $(SORT) -V | \
+ tail -1
endef
define $(PKG)_BUILD