fix build on 2.6.19 (closes: #1070), fix missing process name in syslog (closes:...
[openwrt/svn-archive/archive.git] / net / shat / Makefile
index 2d1deb6ed33aca731a7c8393630a14d9565ee6da..679831e335c75b273b16ed2b80a9a36c94fb7040 100644 (file)
@@ -39,9 +39,9 @@ define Build/Compile
 endef
 
 define Package/shat/install
-       install -d -m0755 $(1)/usr/sbin
-       install -m0755 $(PKG_BUILD_DIR)/src/shatd $(1)/usr/sbin/
-       install -m0755 $(PKG_BUILD_DIR)/src/shatc $(1)/usr/sbin/
+       $(INSTALL_DIR) $(1)/usr/sbin
+       $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/shatd $(1)/usr/sbin/
+       $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/shatc $(1)/usr/sbin/
 endef
 
 $(eval $(call BuildPackage,shat))