Removed excessive escaping in CodeLite generator

This commit is contained in:
Sam Surtees 2019-01-21 02:06:05 +10:00
parent ee01df2fff
commit 37f9a09c0d

View File

@ -317,8 +317,7 @@
_p(3, '<PreBuild>') _p(3, '<PreBuild>')
local commands = os.translateCommandsAndPaths(cfg.prebuildcommands, cfg.project.basedir, cfg.project.location) local commands = os.translateCommandsAndPaths(cfg.prebuildcommands, cfg.project.basedir, cfg.project.location)
for _, command in ipairs(commands) do for _, command in ipairs(commands) do
_x(4, '<Command Enabled="yes">%s</Command>', _x(4, '<Command Enabled="yes">%s</Command>', command)
p.esc(command))
end end
_p(3, '</PreBuild>') _p(3, '</PreBuild>')
end end
@ -329,8 +328,7 @@
_p(3, '<PostBuild>') _p(3, '<PostBuild>')
local commands = os.translateCommandsAndPaths(cfg.postbuildcommands, cfg.project.basedir, cfg.project.location) local commands = os.translateCommandsAndPaths(cfg.postbuildcommands, cfg.project.basedir, cfg.project.location)
for _, command in ipairs(commands) do for _, command in ipairs(commands) do
_x(4, '<Command Enabled="yes">%s</Command>', _x(4, '<Command Enabled="yes">%s</Command>', command)
p.esc(command))
end end
_p(3, '</PostBuild>') _p(3, '</PostBuild>')
end end