From: kramm Date: Tue, 2 Dec 2008 17:01:35 +0000 (+0000) Subject: fixed display of patch errors X-Git-Tag: release-0-9-0~746 X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=5ca9ad3a2f6ee53448d2e569a2f8d4c23a094501;p=swftools.git fixed display of patch errors --- diff --git a/lib/pdf/inject-xpdf.pl b/lib/pdf/inject-xpdf.pl index 0e08c53..44848ff 100755 --- a/lib/pdf/inject-xpdf.pl +++ b/lib/pdf/inject-xpdf.pl @@ -20,7 +20,7 @@ $c = 'find . \( -name "*.cc" -or -name "*.h" -or -name "*.c" \) -exec cp {} {}.o print "$c\n"; system($c); -system("patch < ../xpdf-changes.patch 2>&1 | grep failed"); +system("patch < ../xpdf-changes.patch 2>&1 | grep -i failed"); chdir(".."); system("rm -f xpdf"); system("ln -s $directory xpdf");