summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/luarocks/lpeg.mk2
-rw-r--r--plugins/luarocks/luarocks.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/luarocks/lpeg.mk b/plugins/luarocks/lpeg.mk
index 2c1af1a..4d099db 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 7f5ee94..b7cbbae 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