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:
kshakir 2010-07-29 19:45:12 +00:00
parent 7a5ee485d2
commit 82c37fceb5
1 changed files with 1 additions and 1 deletions

View File

@ -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, "'"))
}