phase1,2: fix missing tmp dir
[buildbot.git] / phase2 / master.cfg
index 58c5e5795dfe069e31364735a6213fa6b1b2ad16..d3ad8b6841ff1a689deb2cf0b379767829ce247f 100644 (file)
@@ -163,6 +163,7 @@ if not os.path.isdir(work_dir+'/source.git'):
 else:
        subprocess.call(["git", "pull"], cwd = work_dir+'/source.git')
 
+os.makedirs(work_dir+'/source.git/tmp', exist_ok=True)
 findarches = subprocess.Popen(['./scripts/dump-target-info.pl', 'architectures'],
        stdout = subprocess.PIPE, cwd = work_dir+'/source.git')