diff src/libidn.mk @ 4586:5697e2dfdb7e

* src/libidn.mk, src/libunistring.mk: fix PKG_UPDATE version order
author John D
date Thu, 21 Dec 2017 12:57:37 -0500
parents eac52a8a7822
children 506a61f959e4
line wrap: on
line diff
--- a/src/libidn.mk	Thu Dec 21 12:50:21 2017 -0500
+++ b/src/libidn.mk	Thu Dec 21 12:57:37 2017 -0500
@@ -14,7 +14,8 @@
     $(WGET) -q -O- 'http://git.savannah.gnu.org/gitweb/?p=libidn.git;a=tags' | \
     grep '<a class="list subject"' | \
     $(SED) -n 's,.*<a[^>]*>\([0-9][^<]*\)<.*,\1,p' | \
-    head -1
+    $(SORT) -V | \
+    tail -1
 endef
 
 define $(PKG)_BUILD