build: initialize host/var/state/ as well

This commit is contained in:
Jo-Philipp Wich 2009-08-13 00:39:08 +00:00
parent 6dffa9ea56
commit cdfe9d6c7b

View file

@ -41,6 +41,7 @@ luahost: luabuild hostcopy
hostcopy:
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/hostfiles/* host/ 2>/dev/null || true; done
rm -f host/luci