diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2016-10-03 13:06:54 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2016-10-03 18:07:43 +0200 |
commit | 87a7570690f7aeffb1aff01f320973c9acb668d3 (patch) | |
tree | cb1d0ff01c9b9a351680a7f78c05bf6cfb04a59b /luci.mk | |
parent | 185e4c1332ae65ffdcaf96597f729d57e890cead (diff) |
luci-base: use default install paths for host utils
Also, don't make any assumptions about the staging dir lua and LuaSrcDiet
were installed to.
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Diffstat (limited to 'luci.mk')
-rw-r--r-- | luci.mk | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -150,8 +150,7 @@ LUCI_LIBRARYDIR = $(LUA_LIBRARYDIR)/luci define SrcDiet $(FIND) $(1) -type f -name '*.lua' | while read src; do \ - if $(STAGING_DIR)/host/bin/lua $(STAGING_DIR)/host/bin/LuaSrcDiet \ - --noopt-binequiv -o "$$$$src.o" "$$$$src"; \ + if LuaSrcDiet --noopt-binequiv -o "$$$$src.o" "$$$$src"; \ then mv "$$$$src.o" "$$$$src"; fi; \ done endef |