From: Nuno Lopes Date: Thu, 15 Feb 2007 20:42:24 +0000 (+0000) Subject: fix cvsclean on cygwin with windows-style EOLs X-Git-Tag: php-5.2.2RC1~391 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fd7d6a6f0a4216b163f18b10f5db3d77aa2acbeb;p=php fix cvsclean on cygwin with windows-style EOLs --- diff --git a/build/build.mk b/build/build.mk index 3b5777ab0f..3e4bad0582 100644 --- a/build/build.mk +++ b/build/build.mk @@ -67,7 +67,7 @@ snapshot: cvsclean-work: @for i in `find . -name .cvsignore`; do \ - (cd `dirname $$i` 2>/dev/null && rm -rf `cat .cvsignore | grep -v config.nice` *.o *.a .libs || true); \ + (cd `dirname $$i` 2>/dev/null && rm -rf `cat .cvsignore | grep -v config.nice | sed 's/[\r\n]/ /g'` *.o *.a .libs || true); \ done .PHONY: $(ALWAYS) snapshot