From cf092df26bad576503cc9f757085faec0a2b34ab Mon Sep 17 00:00:00 2001 From: ribet Date: Fri, 5 Oct 2007 10:40:13 +0000 Subject: Adding multi-level creation capability for AUTOGEN directory. --- src/SVG/SVG2zinc/Backend.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/SVG/SVG2zinc') 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"; } -- cgit v1.1