create .orig files
authorkramm <kramm>
Sat, 20 Oct 2007 17:12:43 +0000 (17:12 +0000)
committerkramm <kramm>
Sat, 20 Oct 2007 17:12:43 +0000 (17:12 +0000)
lib/pdf/inject-xpdf.pl

index 82d170b..e893013 100755 (executable)
@@ -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);
+