aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/SVG/SVG2zinc/Backend.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SVG/SVG2zinc/Backend.pm b/src/SVG/SVG2zinc/Backend.pm
index badee67..930ca86 100644
--- a/src/SVG/SVG2zinc/Backend.pm
+++ b/src/SVG/SVG2zinc/Backend.pm
@@ -82,7 +82,7 @@ sub _initialize {
{
if(not -d $file)
{
- if(!mkdir ($file))
+ if(system("mkdir -p $file"))
{
print STDERR "##### Error creating directory: $file\n";
}