Support building arbitrary branches

This commit is contained in:
2019-08-30 18:11:29 +02:00
parent ea17163d35
commit 8349e52e4a
2 changed files with 3 additions and 6 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, "branches", branch)
os.makedirs(directory, exist_ok=True)
try:
filename = os.path.join(directory, packagename)