From 1c32e7284bd315da41739c8b19fb2a2fae96fb9a Mon Sep 17 00:00:00 2001 From: xPaw Date: Sun, 27 Jul 2014 11:02:06 +0300 Subject: [PATCH] Fix package script copying wrong amxmodx_version file to include folder --- support/PackageScript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/support/PackageScript b/support/PackageScript index ff5fd354..fc2822b6 100644 --- a/support/PackageScript +++ b/support/PackageScript @@ -120,7 +120,7 @@ for amxx_file in AMXX.plugins: # Copy the generated version .inc. for generated_header in AMXX.generated_headers: - if 'inc' in generated_header.path: + if os.path.splitext(generated_header.path)[1] == 'inc': builder.AddCopy(generated_header, folder_map['base/addons/amxmodx/scripting/include']) break