Fix install permissions and executable bits for rp-pppoe (#2882)
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 10 Jan 2008 18:20:34 +0000 (18:20 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 10 Jan 2008 18:20:34 +0000 (18:20 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@10159 3c298f89-4303-0410-b956-a3cf2f4a3e73

net/rp-pppoe/Makefile

index 2300492..249084a 100644 (file)
@@ -63,7 +63,9 @@ define Package/rp-pppoe-client/install
        $(INSTALL_DATA) $(PKG_INSTALL_DIR)/etc/ppp/pppoe.conf $(1)/etc/ppp/
        $(INSTALL_DIR) $(1)/usr/sbin
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/pppoe $(1)/usr/sbin/
-       $(CP) $(PKG_BUILD_DIR)/scripts/pppoe-{connect,start,stop} $(1)/usr/sbin/
+       $(INSTALL_BIN) $(PKG_BUILD_DIR)/scripts/pppoe-connect $(1)/usr/sbin/
+       $(INSTALL_BIN) $(PKG_BUILD_DIR)/scripts/pppoe-start $(1)/usr/sbin/
+       $(INSTALL_BIN) $(PKG_BUILD_DIR)/scripts/pppoe-stop $(1)/usr/sbin/
        $(SED) 's,modprobe,insmod,g' $(1)/usr/sbin/pppoe-connect
 endef