Use proper path for unpack
This commit is contained in:
@@ -119,12 +119,13 @@ if platform == '':
|
||||
sys.exit(1)
|
||||
|
||||
# extract
|
||||
download_prefix = "/data/www/vhosts/builder.blender.org/webroot/download/"
|
||||
if not branch or branch == 'master':
|
||||
directory = 'public_html/download'
|
||||
directory = download_prefix
|
||||
elif branch == 'experimental-build':
|
||||
directory = 'public_html/download/experimental'
|
||||
directory = os.path.join(download_prefix, "experimental")
|
||||
else:
|
||||
directory = 'public_html/download'
|
||||
directory = download_prefix
|
||||
|
||||
try:
|
||||
filename = os.path.join(directory, packagename)
|
||||
|
Reference in New Issue
Block a user