Fix linux CSGO build for latest update.
1 # vim: set ts=2 sw=2 tw=99 noet ft=python:
4 import ambuild.osutil as osutil
5 import ambuild.command as command
11 'dm_preset_spawns.sp',
12 'dm_spawn_protection.sp'
15 plugins = AMBuild.AddJob('plugins')
17 spcomp = os.path.join(CSSDM.smBinPath, 'addons', 'sourcemod', 'scripting', 'spcomp')
18 includes = os.path.relpath(os.path.join(AMBuild.sourceFolder, 'scripting', 'include'),
19 os.path.join(AMBuild.outputFolder, 'scripting'))
23 sp = os.path.join(AMBuild.sourceFolder, 'scripting', file)
24 args = [spcomp, '-i' + includes, sp]
25 plugins.AddCommand(command.DirectCommand(args))