Support building arbitrary branches

This commit is contained in:
2019-08-30 18:11:29 +02:00
parent 42b23d1c93
commit 21d8fa089a
2 changed files with 11 additions and 7 deletions

View File

@@ -122,7 +122,8 @@ if not branch or branch == 'master':
elif branch == 'experimental-build':
directory = os.path.join(download_prefix, "experimental")
else:
directory = download_prefix
directory = os.path.join(download_prefix, branch)
os.makedirs(directory, exist_ok=True)
try:
filename = os.path.join(directory, packagename)