add -f flag to ln command to fix cygwin error per case 0000441
authorDavid Anders <dave123@abcsinc.com>
Tue, 24 Jan 2006 21:35:07 +0000 (21:35 -0000)
committerDavid Anders <dave123@abcsinc.com>
Tue, 24 Jan 2006 21:35:07 +0000 (21:35 -0000)
package/sed/sed.mk

index a4e7c81cf963061cb43ec87944004e85c7a09f31..8b40a72076ff96f38eb87154b5891ebb71b11c0e 100644 (file)
@@ -72,7 +72,7 @@ use-sed-host-binary:
        if [ ! -e "$(HOST_SED_DIR)/$(SED_TARGET_BINARY)" ] ; then \
                mkdir -p "$(HOST_SED_DIR)/bin"; \
                rm -f "$(HOST_SED_DIR)/$(SED_TARGET_BINARY)"; \
-               ln -s "$$SED" "$(HOST_SED_DIR)/$(SED_TARGET_BINARY)"; \
+               ln -sf "$$SED" "$(HOST_SED_DIR)/$(SED_TARGET_BINARY)"; \
        fi
 
 host-sed: $(HOST_SED_TARGET)