#
# Copyright (C) 2015 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v3.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=openwrt-dist-luci
PKG_VERSION:=1.3.8
PKG_RELEASE:=1
PKG_LICENSE:=GPLv3
PKG_LICENSE_FILES:=LICENSE
PKG_B
Thanks.I have indented like this:define
Package/openwrt-dist-luci/install#!/bin/sh $(INSTALL_DIR)
$(1)/usr/lib/lua/luci/controller$(INSTALL_DATA)
./files/luci/controller/$(2).lua $(1)/usr/lib/lua/luci/controller/$(2).lua
$(INSTALL_DIR) $(1)/usr/lib/lua/luci/model/cbi $(INSTALL_DAT
For no misunderstanding.Here is the error now
http://pastebin.com/t4Rb08kA
在 2016-01-04 21:18:14,"Andy Wong" 写道:
>Thanks.I have indented like this:define
>Package/openwrt-dist-luci/install#!/bin/sh $(INSTALL_DIR)
>$(1)/usr/lib/lua/luci/controller$(INST
ake the "if" inline or backslash each newline
(adding semicolon when needed)
Regards
Em seg, 4 de jan de 2016 11:56, Andy Wong escreveu:
For no misunderstanding.Here is the error now
http://pastebin.com/t4Rb08kA
在 2016-01-04 21:18:14,"Andy Wong" 写道:
>Thanks.
simplified)
>
>bash -c 'if [ -f "./files/luci/i18n/$(2).zh-cn.lmo" ]; then $(INSTALL_DIR)
>$(1)/usr/lib/lua/luci/i18n; $(INSTALL_DATA) ./files/luci/i18n/$(2).zh-cn.lmo
>$(1)/usr/lib/lua/luci/i18n; fi'
>
>
>~ Jow
>
>On 01/05/2016 10:41 AM, Andy Wong wrot