splitext didn't work
This commit is contained in:
parent
5d85c0a965
commit
a6f10efd03
|
@ -120,7 +120,7 @@ for amxx_file in AMXX.plugins:
|
|||
|
||||
# Copy the generated version .inc.
|
||||
for generated_header in AMXX.generated_headers:
|
||||
if os.path.splitext(generated_header.path)[1] == 'inc':
|
||||
if 'amxmodx_version.inc' in generated_header.path:
|
||||
builder.AddCopy(generated_header, folder_map['base/addons/amxmodx/scripting/include'])
|
||||
break
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user