diff --git a/bin/figspecial2pdf b/bin/figspecial2pdf index d50659d29be753d256a751043190e191b7162273..70a06d9277ef49c890e6457127e1db52856e4471 100755 --- a/bin/figspecial2pdf +++ b/bin/figspecial2pdf @@ -35,7 +35,7 @@ if ((-r $pngGenerateFile) && ((stat($pngGenerateFile))[9] > (stat($figFileName)) } } -&execCmd("ln -sf " . $pdfGenerateFile . ' ' . $pdfResultFileName); +&execCmd("cp " . $pdfGenerateFile . ' ' . $pdfResultFileName); sub execCmd { my ($cmd) = @_; diff --git a/bin/figspecial2png b/bin/figspecial2png index 1a7d85339a3af2deb2b2259e4d20d004ee2d620c..aa62c0f9c661782dc347a10f3346179e4b3b0581 100755 --- a/bin/figspecial2png +++ b/bin/figspecial2png @@ -35,7 +35,7 @@ if ((-r $pngGenerateFile) && ((stat($pngGenerateFile))[9] > (stat($figFileName)) } } -&execCmd("ln -sf " . $pngGenerateFile . ' ' . $pngResultFileName); +&execCmd("cp " . $pngGenerateFile . ' ' . $pngResultFileName); sub execCmd { my ($cmd) = @_;