summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorTeemu Suo-Anttila <teemusa@vaadin.com>2015-07-09 15:57:37 +0300
committerTeemu Suo-Anttila <teemusa@vaadin.com>2015-07-10 15:16:42 +0300
commitdaba1f6b3b13cb7fd2de23249085c2d163d4b97a (patch)
tree64b30e510920d3b192c06553892a6c2fd1dc73cb /scripts
parent044daf86d80a2dc4c84127c783e383bdd7e111ab (diff)
downloadvaadin-framework-daba1f6b3b13cb7fd2de23249085c2d163d4b97a.tar.gz
vaadin-framework-daba1f6b3b13cb7fd2de23249085c2d163d4b97a.zip
Fix BuildHelpers to create all necessary directories
Change-Id: I4603ff4b46e742b1fa2cf83c6de84f8a7f77018d
Diffstat (limited to 'scripts')
-rw-r--r--scripts/BuildHelpers.py4
1 files 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)