X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fpdf%2Finject-xpdf.pl;h=82d170b54137111b7110e3b930caca2ae26f7556;hb=26ad070cd68c280d31e2c5ccf92bc970d2c80fb5;hp=7a0ea13e1e46136a559ba2ea32114d46e26de2c7;hpb=af7ff6878e4edaf05e2f1b8a36d6577b3c341419;p=swftools.git diff --git a/lib/pdf/inject-xpdf.pl b/lib/pdf/inject-xpdf.pl index 7a0ea13..82d170b 100755 --- a/lib/pdf/inject-xpdf.pl +++ b/lib/pdf/inject-xpdf.pl @@ -15,7 +15,7 @@ system("tar -zxvf ../../$filename") and die; system("find -type f -exec mv {} .. \\;") and die; chdir(".."); system("find -type d -exec rmdir {} \\; 2> /dev/null"); -system("patch --verbose < ../xpdf-changes.patch") and die; +system("patch < ../xpdf-changes.patch"); chdir(".."); system("rm -f xpdf"); system("ln -s $directory xpdf"); @@ -25,11 +25,19 @@ open(fi, ">switch"); print fi <