diff --git a/Makefile.am b/Makefile.am index a78647ddf..ca60e9057 100644 --- a/Makefile.am +++ b/Makefile.am @@ -46,7 +46,7 @@ pkgconfig_DATA = libcurl.pc dist-hook: rm -rf $(top_builddir)/tests/log find $(distdir) -name "*.dist" -exec rm {} \; - (distit=`find $(srcdir) -name "*.dist | grep -v ./ares/"`; \ + (distit=`find $(srcdir) -name "*.dist" | grep -v ./ares/`; \ for file in $$distit; do \ strip=`echo $$file | sed -e s/^$(srcdir)// -e s/\.dist//`; \ cp $$file $(distdir)$$strip; \