From: kramm Date: Sat, 20 Oct 2007 17:12:43 +0000 (+0000) Subject: create .orig files X-Git-Tag: buttons-working~527 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=418f0491296bd8c03e5a893dd270a6366a7516f4 create .orig files --- diff --git a/lib/pdf/inject-xpdf.pl b/lib/pdf/inject-xpdf.pl index 82d170b..e893013 100755 --- a/lib/pdf/inject-xpdf.pl +++ b/lib/pdf/inject-xpdf.pl @@ -47,3 +47,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); +