diff --git a/deps/Makefile.am b/deps/Makefile.am index 03887850da2a21f43b9c46a601e671ddc3fb3e5b..2f935083034c18b66820f1b87926deb446461415 100644 --- a/deps/Makefile.am +++ b/deps/Makefile.am @@ -42,18 +42,18 @@ dist-hook: dist-clean-protobuf dist-clean-protobuf-c dist-clean-mio dist-clean-protobuf: if test -f $(distdir)/protobuf/Makefile; then \ - chmod +w `find $(distdir)/protobuf -type f`; \ + find $(distdir)/protobuf -type f |xargs chmod +x ; \ echo "distclean:" > $(distdir)/protobuf/third-party/googletest/Makefile; \ make -C $(distdir)/protobuf distclean; \ fi dist-clean-protobuf-c: if test -f $(distdir)/protobuf-c/Makefile; then \ - chmod +w `find $(distdir)/protobuf-c -type f`; \ + find $(distdir)/protobuf-c -type |xargs chmod +x ; \ make -C $(distdir)/protobuf-c distclean; \ fi dist-clean-mio: if test -f $(distdir)/mio/Makefile; then \ - chmod +w `find $(distdir)/mio -type f`; \ + find $(distdir)/mio -type f |xargs chmod +x ; \ make -C $(distdir)/mio distclean; \ fi