mirror of
https://github.com/openwrt/luci.git
synced 2026-08-31 17:01:56 +04:00
build: initialize host/var/state/ as well
This commit is contained in:
@@ -41,6 +41,7 @@ luahost: luabuild hostcopy
|
|||||||
|
|
||||||
hostcopy:
|
hostcopy:
|
||||||
mkdir -p host/tmp
|
mkdir -p host/tmp
|
||||||
|
mkdir -p host/var/state
|
||||||
for i in $(MODULES); do cp -pR $$i/dist/* host/ 2>/dev/null || true; done
|
for i in $(MODULES); do cp -pR $$i/dist/* host/ 2>/dev/null || true; done
|
||||||
for i in $(MODULES); do cp -pR $$i/hostfiles/* host/ 2>/dev/null || true; done
|
for i in $(MODULES); do cp -pR $$i/hostfiles/* host/ 2>/dev/null || true; done
|
||||||
rm -f host/luci
|
rm -f host/luci
|
||||||
|
|||||||
Reference in New Issue
Block a user