lpeg.mk, luarocks.mk: s/sort/$(SORT)/

This commit is contained in:
Boris Nagaev 2015-12-02 00:09:29 +03:00
parent f37f78b541
commit f89bc0824b
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ $(PKG)_DEPS := gcc luarocks
define $(PKG)_UPDATE
$(WGET) -q -O- 'http://www.inf.puc-rio.br/~roberto/lpeg/' | \
$(SED) -n 's,.*lpeg-\([0-9][^>]*\)\.tar.*,\1,p' | \
sort -h | tail -1
$(SORT) -h | tail -1
endef
# shared-only because luarocks is shared-only

View File

@ -15,7 +15,7 @@ $(PKG)_DEPS := gcc lua
define $(PKG)_UPDATE
$(WGET) -q -O- 'https://keplerproject.github.io/luarocks/releases/' | \
$(SED) -n 's,.*luarocks-\([0-9][^>]*\)\.tar.*,\1,p' | \
sort -h | tail -1
$(SORT) -h | tail -1
endef
# shared-only because Lua loads modules in runtime