fixed display of patch errors
authorkramm <kramm>
Tue, 2 Dec 2008 17:01:35 +0000 (17:01 +0000)
committerkramm <kramm>
Tue, 2 Dec 2008 17:01:35 +0000 (17:01 +0000)
lib/pdf/inject-xpdf.pl

index 0e08c53..44848ff 100755 (executable)
@@ -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");