X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/6175a99e8e707e75b1f947ab94d2ed824285d7a7..f59578a083f9ac8746da5fe0910677756b118df8:/package/openser/Makefile?ds=sidebyside diff --git a/package/openser/Makefile b/package/openser/Makefile index 29d72864f..d3b482678 100644 --- a/package/openser/Makefile +++ b/package/openser/Makefile @@ -42,17 +42,17 @@ $(PKG_BUILD_DIR)/.built: $(IPKG_OPENSER): mkdir -p $(IDIR_OPENSER)/usr/sbin - cp -fpR $(PKG_BUILD_DIR)/$(PKG_NAME) $(IDIR_OPENSER)/usr/sbin/ - cp -fpR $(PKG_BUILD_DIR)/utils/gen_ha1/gen_ha1 $(IDIR_OPENSER)/usr/sbin/openser_gen_ha1 - cp -fpR $(PKG_BUILD_DIR)/scripts/sc $(IDIR_OPENSER)/usr/sbin/openserctl + $(CP) $(PKG_BUILD_DIR)/$(PKG_NAME) $(IDIR_OPENSER)/usr/sbin/ + $(CP) $(PKG_BUILD_DIR)/utils/gen_ha1/gen_ha1 $(IDIR_OPENSER)/usr/sbin/openser_gen_ha1 + $(CP) $(PKG_BUILD_DIR)/scripts/sc $(IDIR_OPENSER)/usr/sbin/openserctl chmod 744 $(IDIR_OPENSER)/usr/sbin/openserctl - cp -fpR $(PKG_BUILD_DIR)/scripts/sc.dbtext $(IDIR_OPENSER)/usr/sbin/dbtextctl + $(CP) $(PKG_BUILD_DIR)/scripts/sc.dbtext $(IDIR_OPENSER)/usr/sbin/dbtextctl chmod 744 $(IDIR_OPENSER)/usr/sbin/dbtextctl mkdir -p $(IDIR_OPENSER)/usr/lib/openser/modules (cd $(PKG_BUILD_DIR);\ - cp -a $(OPENSER_MODULE_FILES) $(IDIR_OPENSER)/usr/lib/openser/modules/; \ + $(CP) $(OPENSER_MODULE_FILES) $(IDIR_OPENSER)/usr/lib/openser/modules/; \ ) mkdir -p $(IDIR_OPENSER)/etc/openser - cp -fpR $(PKG_BUILD_DIR)/etc/openser.cfg $(IDIR_OPENSER)/etc/openser/ + $(CP) $(PKG_BUILD_DIR)/etc/openser.cfg $(IDIR_OPENSER)/etc/openser/ $(RSTRIP) $(IDIR_OPENSER) $(IPKG_BUILD) $(IDIR_OPENSER) $(PACKAGE_DIR)