summaryrefslogtreecommitdiff
path: root/include/image.mk
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-04-12 19:18:38 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-04-12 19:18:38 +0000
commit3e91dd1bd509f3691a65b79d8ef2d02630aae479 (patch)
treecbe67a06b905c9400f885f9ee0b964548591a9ab /include/image.mk
parentf3f941db39b21bdc1d629bac281f53ffb2a5eea1 (diff)
downloadmtk-20170518-3e91dd1bd509f3691a65b79d8ef2d02630aae479.zip
mtk-20170518-3e91dd1bd509f3691a65b79d8ef2d02630aae479.tar.gz
mtk-20170518-3e91dd1bd509f3691a65b79d8ef2d02630aae479.tar.bz2
revert find | xargs => find | exec changes - this is completely unnecessary and introduces additional dependencies that we do not need
SVN-Revision: 6942
Diffstat (limited to 'include/image.mk')
-rw-r--r--include/image.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/image.mk b/include/image.mk
index eb59ea6..0e6a7cd 100644
--- a/include/image.mk
+++ b/include/image.mk
@@ -79,9 +79,9 @@ endif
define Image/mkfs/prepare/default
- find $(BUILD_DIR)/root -type f -not -perm +0100 -not -name 'ssh_host*' -exec chmod 0644 {} \;
- find $(BUILD_DIR)/root -type f -perm +0100 -exec chmod 0755 {} \;
- find $(BUILD_DIR)/root -type d -exec chmod 0755 {} \;
+ find $(BUILD_DIR)/root -type f -not -perm +0100 -not -name 'ssh_host*' | xargs -r chmod 0644
+ find $(BUILD_DIR)/root -type f -perm +0100 | xargs -r chmod 0755
+ find $(BUILD_DIR)/root -type d | xargs -r chmod 0755
mkdir -p $(BUILD_DIR)/root/tmp
chmod 0777 $(BUILD_DIR)/root/tmp
endef