mirror of
https://github.com/openwrt/luci.git
synced 2026-06-17 17:03:20 +04:00
Merge pull request #1915 from Ansuel/upgrade
luci-base: update luasrcdiet
This commit is contained in:
@@ -153,7 +153,7 @@ LUCI_LIBRARYDIR = $(LUA_LIBRARYDIR)/luci
|
||||
|
||||
define SrcDiet
|
||||
$(FIND) $(1) -type f -name '*.lua' | while read src; do \
|
||||
if LuaSrcDiet --noopt-binequiv -o "$$$$src.o" "$$$$src"; \
|
||||
if luasrcdiet --noopt-binequiv -o "$$$$src.o" "$$$$src"; \
|
||||
then mv "$$$$src.o" "$$$$src"; fi; \
|
||||
done
|
||||
endef
|
||||
|
||||
Reference in New Issue
Block a user