X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=Makefile;h=e673b22dc2fb01818f75dc24c22ba23f6e4cfc1a;hb=72f4494cf0bc10108442966ed43c5f486b288aab;hp=6c7d399e76f994520ae2d3f0b732bd2fd5676b42;hpb=9eb8e378ae6a5bb2bb7d23f97b610dccfa6e7609;p=oweals%2Fluci.git diff --git a/Makefile b/Makefile index 6c7d399e7..e673b22dc 100644 --- a/Makefile +++ b/Makefile @@ -30,8 +30,8 @@ luahost: luabuild hostcopy hostcopy: mkdir -p host/tmp - for i in $(MODULES); do cp -a $$i/dist/* host/ -R 2>/dev/null || true; done - for i in $(MODULES); do cp -a $$i/hostfiles/* host/ -R 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 rm -f host/luci ln -s .$(LUCI_MODULEDIR) host/luci rm -rf /tmp/luci-* || true