201803 - 程序员玩耍的小窝

install: cannot create regular file '/bin/po2lmo': Permission denied

作者:fly 发布于:2018-3-19 19:18 分类:Linux

在openwrt的以下路径:/feeds/luci/modules/luci-base/Makefil


修改

define Host/Install
	$(INSTALL_DIR) $(1)/bin
	$(INSTALL_BIN) src/po2lmo $(1)/bin/po2lmo
	$(INSTALL_BIN) $(HOST_BUILD_DIR)/bin/LuaSrcDiet.lua $(1)/bin/LuaSrcDiet

define Host/Install
	$(INSTALL_DIR) $(STAGING_DIR_HOST)/bin
	$(INSTALL_BIN) src/po2lmo $(STAGING_DIR_HOST)/bin/po2lmo
	$(INSTALL_BIN) $(HOST_BUILD_DIR)/bin/LuaSrcDiet.lua $(STAGING_DIR_HOST)/bin/LuaSrcDiet
endef

评论(0) 浏览(737)

 
Powered by emlog sitemap