Fix spcomp64 filename for Windows #1368
This commit is contained in:
parent
6a4364d404
commit
90b68f095f
@ -90,7 +90,8 @@ if builder.host.platform == 'mac' and len(SM.target_archs) > 1:
|
|||||||
else:
|
else:
|
||||||
for bin_task in SM.spcomp_bins:
|
for bin_task in SM.spcomp_bins:
|
||||||
if bin_task.target.arch == 'x86_64':
|
if bin_task.target.arch == 'x86_64':
|
||||||
file = os.path.basename(bin_task.binary.path) + '64'
|
root, ext = os.path.splitext(os.path.basename(bin_task.binary.path))
|
||||||
|
file = root + '64' + ext
|
||||||
builder.AddCopy(bin_task.binary, os.path.normpath('addons/sourcemod/scripting/' + file))
|
builder.AddCopy(bin_task.binary, os.path.normpath('addons/sourcemod/scripting/' + file))
|
||||||
else:
|
else:
|
||||||
builder.AddCopy(bin_task.binary, folder_map['addons/sourcemod/scripting'])
|
builder.AddCopy(bin_task.binary, folder_map['addons/sourcemod/scripting'])
|
||||||
|
Loading…
Reference in New Issue
Block a user