fix occasional build error in base-files
authorFelix Fietkau <nbd@openwrt.org>
Tue, 14 Mar 2006 09:02:20 +0000 (09:02 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 14 Mar 2006 09:02:20 +0000 (09:02 +0000)
SVN-Revision: 3366

openwrt/package/base-files/Makefile

index 1c7fee60a0f614906aa73d34a97e172ea6d126f7..a9426a6dcb06149edd64d27d4cfa73ee281e7826 100644 (file)
@@ -51,6 +51,7 @@ $(IPKG_BASE):
        mkdir -p $(IDIR_BASE)/usr/bin
        mkdir -p $(IDIR_BASE)/www
        ln -sf /tmp/resolv.conf $(IDIR_BASE)/etc/resolv.conf
+       rm -f $(IDIR_BASE)/var
        ln -sf /tmp $(IDIR_BASE)/var
        -find $(IDIR_BASE) -type d -name CVS | xargs rm -rf
        -find $(IDIR_BASE) -type d -name .svn | xargs rm -rf