diff src/libunistring.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 c0bec6c729f1
children abed69834834
line wrap: on
line diff
--- a/src/libunistring.mk	Thu Dec 21 12:50:21 2017 -0500
+++ b/src/libunistring.mk	Thu Dec 21 12:57:37 2017 -0500
@@ -14,7 +14,8 @@
     $(WGET) -q -O- 'http://git.savannah.gnu.org/gitweb/?p=$(PKG).git;a=tags' | \
     grep '<a class="list name"' | \
     $(SED) -n 's,.*<a[^>]*>v\([0-9][^<]*\)<.*,\1,p' | \
-    head -1
+    $(SORT) -V | \
+    tail -1
 endef
 
 define $(PKG)_BUILD