X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fpdf%2Finject-xpdf.pl;h=b9170238332a81f0b26d4e02680f2ea36cbfcd15;hb=9e51523b57fc5e715d498039543f8e630b664d7b;hp=82d170b54137111b7110e3b930caca2ae26f7556;hpb=26ad070cd68c280d31e2c5ccf92bc970d2c80fb5;p=swftools.git diff --git a/lib/pdf/inject-xpdf.pl b/lib/pdf/inject-xpdf.pl index 82d170b..b917023 100755 --- a/lib/pdf/inject-xpdf.pl +++ b/lib/pdf/inject-xpdf.pl @@ -31,8 +31,6 @@ PS3="choose> " if test "x\$VERSION" = "x";then select V in stable latest;do VERSION="\$V";break;done fi -case $VERSION - if test "x\$VERSION" = "xstable";then echo "Switching to stable version" rm -f xpdf @@ -47,3 +45,7 @@ EOF close(fi); system("chmod a+x switch"); +$c = 'find '.$directory.' \( -name "*.cc" -or -name "*.h" -or -name "*.c" \) -exec cp {} {}.orig \;'; +print "$c\n"; +system($c); +