revert find | xargs => find | exec changes - this is completely unnecessary and introduces additional dependencies that we do not need

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6942 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Felix Fietkau
2007-04-12 19:18:38 +00:00
parent 07bdd5fe16
commit 1cabba028e
7 changed files with 12 additions and 20 deletions

View File

@@ -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