aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/iftop/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/iftop/Makefile b/package/iftop/Makefile
index 0ef547313f..02e75acd0d 100644
--- a/package/iftop/Makefile
+++ b/package/iftop/Makefile
@@ -55,7 +55,7 @@ $(PKG_BUILD_DIR)/.built:
touch $@
$(IPKG_IFTOP):
- mkdir -p $(IDIR_IFTOP)/usr/bin
+ install -d -m0755 $(IDIR_IFTOP)/usr/bin
$(CP) $(PKG_INSTALL_DIR)/usr/sbin/$(PKG_NAME) $(IDIR_IFTOP)/usr/bin/
$(STRIP) $(IDIR_IFTOP)/usr/bin/*
$(IPKG_BUILD) $(IDIR_IFTOP) $(PACKAGE_DIR)