Create intermediate directories and don't error if the directory already exists.
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@3899 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
7a5ee485d2
commit
82c37fceb5
|
|
@ -11,5 +11,5 @@ class CreateTempDirsFunction extends CommandLineFunction {
|
|||
@Output(doc="Temporary directories to create")
|
||||
var tempDirectories: List[File] = Nil
|
||||
|
||||
def commandLine = "mkdir%s".format(repeat(" '", tempDirectories, "'"))
|
||||
def commandLine = "mkdir -pv%s".format(repeat(" '", tempDirectories, "'"))
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue