From daba1f6b3b13cb7fd2de23249085c2d163d4b97a Mon Sep 17 00:00:00 2001 From: Teemu Suo-Anttila Date: Thu, 9 Jul 2015 15:57:37 +0300 Subject: [PATCH] Fix BuildHelpers to create all necessary directories Change-Id: I4603ff4b46e742b1fa2cf83c6de84f8a7f77018d --- scripts/BuildHelpers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/BuildHelpers.py b/scripts/BuildHelpers.py index 3302649c81..b96da1b408 100644 --- a/scripts/BuildHelpers.py +++ b/scripts/BuildHelpers.py @@ -5,7 +5,7 @@ import sys, argparse, subprocess, platform from xml.etree import ElementTree from os.path import join, isdir, isfile, basename, exists -from os import listdir, mkdir +from os import listdir, makedirs from shutil import copy, rmtree from glob import glob @@ -17,7 +17,7 @@ repo = "http://oss.sonatype.org/content/repositories/comvaadin-%d" resultPath = join("result", "demos") if not exists(resultPath): - mkdir(resultPath) + makedirs(resultPath) elif not isdir(resultPath): print("Result path is not a directory.") sys.exit(1) -- 2.39.5