From e23877daf8f7c535bce2388aaacba831b6e41e83 Mon Sep 17 00:00:00 2001
From: Martin Goik <goik@hdm-stuttgart.de>
Date: Thu, 14 Jan 2016 11:50:52 +0100
Subject: [PATCH] Replacing symlik by file copy

---
 bin/figspecial2pdf | 2 +-
 bin/figspecial2png | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/figspecial2pdf b/bin/figspecial2pdf
index d50659d29..70a06d927 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 1a7d85339..aa62c0f9c 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) = @_;
-- 
GitLab