diff --git a/plugins/luarocks/lpeg.mk b/plugins/luarocks/lpeg.mk index 2c1af1a3..4d099dbf 100644 --- a/plugins/luarocks/lpeg.mk +++ b/plugins/luarocks/lpeg.mk @@ -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 diff --git a/plugins/luarocks/luarocks.mk b/plugins/luarocks/luarocks.mk index 7f5ee94b..b7cbbae3 100644 --- a/plugins/luarocks/luarocks.mk +++ b/plugins/luarocks/luarocks.mk @@ -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