X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/4dd22e79dbd45667b38357a18003ce3b4f2a7664..8ca510f22e29759d35eed48b0cb1867f79614f1a:/include/image.mk diff --git a/include/image.mk b/include/image.mk index 78e1a2fdc..0e6a7cdbe 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*' | xargs chmod 0644 - find $(BUILD_DIR)/root -type f -perm +0100 | xargs chmod 0755 - find $(BUILD_DIR)/root -type d | xargs 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