X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=build%2Fmodule.mk;h=52c0e52682d92c645cbcbb9ed8b951379687dac1;hb=e650f6bc5f959a6430ba09f819bd4ee284ae2dfd;hp=3db3cc3b729220f83ee9fda5d2f5902041fb6710;hpb=6ae8e58510144112ab85e2d4984d58d37621c072;p=project%2Fluci.git diff --git a/build/module.mk b/build/module.mk index 3db3cc3b7..52c0e5268 100644 --- a/build/module.mk +++ b/build/module.mk @@ -4,8 +4,8 @@ all: compile source: mkdir -p dist$(LUCI_INSTALLDIR) - [ -d root ] && cp root/* dist -R - [ -d src ] && cp src/* dist$(LUCI_INSTALLDIR) -R + cp root/* dist -R 2>/dev/null || true + cp src/* dist$(LUCI_INSTALLDIR) -R 2>/dev/null || true for i in $$(find dist -name .svn); do rm $$i -rf; done compile: source