Force symlink creation
authorNicolas Thill <nico@openwrt.org>
Tue, 29 Mar 2005 23:22:58 +0000 (23:22 +0000)
committerNicolas Thill <nico@openwrt.org>
Tue, 29 Mar 2005 23:22:58 +0000 (23:22 +0000)
SVN-Revision: 473

openwrt/package/ppp/Makefile

index dd1dbd220bb189d031c0f8d9b64d536a26653965..621b9cdca89a6e93f1a706056ceeb024a5c00936 100644 (file)
@@ -96,7 +96,7 @@ $(PKG_PPP): $(PKG_BUILD_DIR)/pppd/pppd
        cp -af ./ipkg/ppp/* $(I_PPP)
        $(SCRIPT_DIR)/make-ipkg-dir.sh $(I_PPP) control/ppp.control $(PKG_VERSION)-$(PKG_RELEASE) $(ARCH) 
        mkdir -p $(I_PPP)/etc/ppp
-       ln -s /tmp/resolv.conf $(I_PPP)/etc/ppp/resolv.conf
+       ln -sf /tmp/resolv.conf $(I_PPP)/etc/ppp/resolv.conf
        mkdir -p $(I_PPP)/usr/sbin
        cp -af $(PKG_BUILD_DIR)/pppd/pppd $(I_PPP)/usr/sbin/
        $(STRIP) $(I_PPP)/usr/sbin/*