replace lots of manual install commands with INSTALL_* variables
[openwrt.git] / package / yamonenv / Makefile
index dfb9bbb..c67658e 100644 (file)
@@ -33,7 +33,7 @@ define Build/Configure
 endef
 
 define Package/yamonenv/install
-       install -d -m0755 $(1)/usr/sbin
+       $(INSTALL_DIR) $(1)/usr/sbin
        $(CP) $(PKG_BUILD_DIR)/src/$(PKG_NAME) $(1)/usr/sbin/
 endef