fix bug in mount script
[openwrt.git] / package / ifenslave / Makefile
index d4d3344..86132a1 100644 (file)
@@ -4,7 +4,7 @@
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
-# $Id$
+# $Id$
 
 include $(TOPDIR)/rules.mk
 include $(INCLUDE_DIR)/kernel.mk
@@ -13,8 +13,6 @@ PKG_NAME:=ifenslave
 PKG_VERSION:=$(LINUX_VERSION)
 PKG_RELEASE:=1
 
-PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
-
 include $(INCLUDE_DIR)/package.mk
 
 define Package/ifenslave
@@ -35,8 +33,8 @@ define Build/Compile
 endef
 
 define Package/ifenslave/install
-       mkdir -p $(1)/sbin
-       $(CP) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/sbin
+       $(INSTALL_DIR) $(1)/sbin
+       $(CP) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/sbin/
 endef
 
 $(eval $(call BuildPackage,ifenslave))
This page took 0.022869 seconds and 4 git commands to generate.