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-09 15:57:37 +0300
commit2645159df7cd98fa3577eb8e729b1ed085ca87bd (patch)
tree0d0cf6ac9312cccb1331634d5f2f3fa2ab212cbb /scripts
parent5837c103f7dd30f5611cb180e610f3d3f316b6d0 (diff)
downloadvaadin-framework-2645159df7cd98fa3577eb8e729b1ed085ca87bd.tar.gz
vaadin-framework-2645159df7cd98fa3577eb8e729b1ed085ca87bd.zip
Fix BuildHelpers to create all necessary directories
Change-Id: Ica4430469e8088c1e2fddad93a432cc2cd344fef
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)