packages: Use $(CP) instead of $(INSTALL_BIN) for binaries.
[packages.git] / net / openvpn / Makefile
index 31da38a..d2fdabe 100644 (file)
@@ -59,7 +59,7 @@ endef
 
 define Package/openvpn/install 
        $(INSTALL_DIR) $(1)/usr/sbin
-       $(CP) $(PKG_INSTALL_DIR)/usr/sbin/openvpn $(1)/usr/sbin/
+       $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/openvpn $(1)/usr/sbin/
        $(INSTALL_DIR) $(1)/etc/init.d/
        $(INSTALL_BIN) files/$(PKG_NAME).init $(1)/etc/init.d/$(PKG_NAME)
        $(INSTALL_DIR) $(1)/etc/default