127N/A- -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
127N/A+ -find "$(distdir)" -type d ! -perm -755 \
127N/A+ -exec chmod u+rwx,go+rx {} \; -o \
127N/A ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
127N/A ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
127N/A ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
127N/A ## This complex find command will try to avoid changing the modes of
127N/A-## links into the source tree, in case they're hard-linked. It will
127N/A-## also make directories writable by everybody, because some
127N/A-## brain-dead tar implementations change ownership and permissions of
127N/A-## a directory before extracting the files, thus becoming unable to
127N/A+## links into the source tree, in case they're hard-linked.
127N/A ## Ignore return result from chmod, because it might give an error
127N/A ## if we chmod a symlink.
127N/A ## the file in place in the source tree.
127N/A- -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
127N/A+ -find "$(distdir)" -type d ! -perm -755 \
127N/A+ -exec chmod u+rwx,go+rx {} \; -o \
127N/A ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
127N/A ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
127N/A ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \