summaryrefslogtreecommitdiff
path: root/openwrt/package/srelay
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/srelay')
-rw-r--r--openwrt/package/srelay/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/openwrt/package/srelay/Makefile b/openwrt/package/srelay/Makefile
index 485ea26abe..9dc0b9545b 100644
--- a/openwrt/package/srelay/Makefile
+++ b/openwrt/package/srelay/Makefile
@@ -53,15 +53,15 @@ $(PKG_BUILD_DIR)/.built:
$(MAKE) -C $(PKG_BUILD_DIR) \
CC=$(TARGET_CC) \
all
- cp $(PKG_BUILD_DIR)/srelay $(PKG_INSTALL_DIR)
+ $(CP) $(PKG_BUILD_DIR)/srelay $(PKG_INSTALL_DIR)
touch $@
$(IPKG_SRELAY):
install -m0755 -d $(IDIR_SRELAY)/usr/bin
install -m0755 -d $(IDIR_SRELAY)/etc/init.d
- cp -fpR $(PKG_INSTALL_DIR)/srelay $(IDIR_SRELAY)/usr/bin/
- cp -fpR files/srelay.init $(IDIR_SRELAY)/etc/init.d/S$(PKG_INIT_LEVEL)srelay
- cp -fpR files/srelay.conf $(IDIR_SRELAY)/etc
+ $(CP) $(PKG_INSTALL_DIR)/srelay $(IDIR_SRELAY)/usr/bin/
+ $(CP) files/srelay.init $(IDIR_SRELAY)/etc/init.d/S$(PKG_INIT_LEVEL)srelay
+ $(CP) files/srelay.conf $(IDIR_SRELAY)/etc
chmod 755 $(IDIR_SRELAY)/etc/init.d/S$(PKG_INIT_LEVEL)srelay
$(RSTRIP) $(IDIR_SRELAY)
$(IPKG_BUILD) $(IDIR_SRELAY) $(PACKAGE_DIR)