1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-22 08:08:50 -05:00

fix the find command line

This commit is contained in:
Daniel Stenberg 2009-11-04 12:34:48 +00:00
parent 367114bc87
commit 6bf9d56485

View File

@ -46,7 +46,7 @@ pkgconfig_DATA = libcurl.pc
dist-hook: dist-hook:
rm -rf $(top_builddir)/tests/log rm -rf $(top_builddir)/tests/log
find $(distdir) -name "*.dist" -exec rm {} \; 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 \ for file in $$distit; do \
strip=`echo $$file | sed -e s/^$(srcdir)// -e s/\.dist//`; \ strip=`echo $$file | sed -e s/^$(srcdir)// -e s/\.dist//`; \
cp $$file $(distdir)$$strip; \ cp $$file $(distdir)$$strip; \