fix symlink creation
authorSteven Barth <steven@midlink.org>
Mon, 2 Jun 2008 15:34:59 +0000 (15:34 +0000)
committerSteven Barth <steven@midlink.org>
Mon, 2 Jun 2008 15:34:59 +0000 (15:34 +0000)
Makefile

index ec0d76a621cadd544061d58960e9d334b85c64c9..0e09682ae22bc57e6e3e815d039afcb310ff6c8b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -36,7 +36,8 @@ luahost: luabuild hostcopy
 hostcopy: 
        mkdir -p host
        for i in $(MODULES); do cp $$i/dist/* host/ -R 2>/dev/null || true; done
-       ln -sf .$(LUCI_INSTALLDIR) host/luci
+       rm -f host/luci
+       ln -s .$(LUCI_INSTALLDIR) host/luci
 
 run: host
        ./host/usr/bin/boa -c ./host/etc/boa -d