Skip to content

Instantly share code, notes, and snippets.

@fcicq
Created August 15, 2014 03:15
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save fcicq/1e7929ab00cc4d853533 to your computer and use it in GitHub Desktop.
Save fcicq/1e7929ab00cc4d853533 to your computer and use it in GitHub Desktop.
remove all /usr/lib/lua/luci/i18n file for openwrt luci, apply under feeds/luci
diff --git a/build/module.mk b/build/module.mk
index b69019c..4ed8e3e 100644
--- a/build/module.mk
+++ b/build/module.mk
@@ -25,10 +25,10 @@ luasource:
cp -pR htdocs/* dist$(HTDOCS) 2>/dev/null || true
for i in $$(find dist -name .svn -o -name .gitignore); do rm -rf $$i || true; done
ifneq ($(PO),)
- mkdir -p dist$(LUCI_I18NDIR)
- for file in $(PO); do \
- cp $(HOST)/lua-po/$$file.$(if $(PO_LANG),$(PO_LANG),*).* dist$(LUCI_I18NDIR)/ 2>/dev/null || true; \
- done
+ #mkdir -p dist$(LUCI_I18NDIR)
+ #for file in $(PO); do \
+ # cp $(HOST)/lua-po/$$file.$(if $(PO_LANG),$(PO_LANG),*).* dist$(LUCI_I18NDIR)/ 2>/dev/null || true; \
+ #done
endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment