aboutsummaryrefslogtreecommitdiff
path: root/src/SVG
diff options
context:
space:
mode:
authorribet2007-10-05 10:40:13 +0000
committerribet2007-10-05 10:40:13 +0000
commitcf092df26bad576503cc9f757085faec0a2b34ab (patch)
treebd329fcad11e67644251d19030c97bfd0ac0a629 /src/SVG
parent7c6838e3b4615aa30f4e0881d5657d0a18c5720c (diff)
downloadmtc-cf092df26bad576503cc9f757085faec0a2b34ab.zip
mtc-cf092df26bad576503cc9f757085faec0a2b34ab.tar.gz
mtc-cf092df26bad576503cc9f757085faec0a2b34ab.tar.bz2
mtc-cf092df26bad576503cc9f757085faec0a2b34ab.tar.xz
Adding multi-level creation capability for AUTOGEN directory.
Diffstat (limited to 'src/SVG')
-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";
}