change cp to $(CP)
[openwrt.git] / openwrt / package / olsrd / Makefile
index 15be967..a5092c8 100644 (file)
@@ -61,11 +61,11 @@ $(PKG_BUILD_DIR)/.built:
 
 $(IPKG_OLSRD):
        install -d -m0755 $(IDIR_OLSRD)/etc
-       cp -fpR $(PKG_INSTALL_DIR)/etc/olsrd.conf $(IDIR_OLSRD)/etc/
+       $(CP) $(PKG_INSTALL_DIR)/etc/olsrd.conf $(IDIR_OLSRD)/etc/
        install -d -m0755 $(IDIR_OLSRD)/usr/sbin
-       cp -fpR $(PKG_INSTALL_DIR)/usr/sbin/olsrd $(IDIR_OLSRD)/usr/sbin/
+       $(CP) $(PKG_INSTALL_DIR)/usr/sbin/olsrd $(IDIR_OLSRD)/usr/sbin/
        install -d -m0755 $(IDIR_OLSRD)/etc/init.d
-       cp -fpR ./files/olsrd.init $(IDIR_OLSRD)/etc/init.d/S60olsrd
+       install -m0755 ./files/olsrd.init $(IDIR_OLSRD)/etc/init.d/S60olsrd
        $(RSTRIP) $(IDIR_OLSRD)
        $(IPKG_BUILD) $(IDIR_OLSRD) $(PACKAGE_DIR)
 
@@ -73,4 +73,4 @@ $(IPKG_OLSRD_MOD_SECURE): $(IDIR_OLSRD_MOD_SECURE)/etc/olsrd.d/olsrd_secure_key
 
 $(IDIR_OLSRD_MOD_SECURE)/etc/olsrd.d/olsrd_secure_key:
        install -d -m0755 $(IDIR_OLSRD_MOD_SECURE)/etc/olsrd.d
-       cp -fpR ./files/olsrd_secure_key $(IDIR_OLSRD_MOD_SECURE)/etc/olsrd.d/
+       $(CP) ./files/olsrd_secure_key $(IDIR_OLSRD_MOD_SECURE)/etc/olsrd.d/
This page took 0.025398 seconds and 4 git commands to generate.