change cp to $(CP)
[openwrt.git] / package / pptpd / Makefile
index a115bd5..32e301d 100644 (file)
@@ -63,7 +63,7 @@ $(IPKG_PPTPD):
        install -d -m0755 $(IDIR_PPTPD)/etc/ppp
        install -m0644 ./files/options.pptpd $(IDIR_PPTPD)/etc/ppp/
        install -d -m0755 $(IDIR_PPTPD)/usr/sbin
-       cp -fpR $(PKG_INSTALL_DIR)/usr/sbin/pptpd $(IDIR_PPTPD)/usr/sbin/
-       cp -fpR $(PKG_INSTALL_DIR)/usr/sbin/pptpctrl $(IDIR_PPTPD)/usr/sbin/
+       $(CP) $(PKG_INSTALL_DIR)/usr/sbin/pptpd $(IDIR_PPTPD)/usr/sbin/
+       $(CP) $(PKG_INSTALL_DIR)/usr/sbin/pptpctrl $(IDIR_PPTPD)/usr/sbin/
        $(RSTRIP) $(IDIR_PPTPD)
        $(IPKG_BUILD) $(IDIR_PPTPD) $(PACKAGE_DIR)