aboutsummaryrefslogtreecommitdiff
path: root/bam.lua
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2016-07-15 19:20:08 +0200
committerAlex Auvolat <alex@adnab.me>2016-07-15 19:20:08 +0200
commit327d62f7d56f79999cac6407bdfdcc0b90510aef (patch)
treea81070cfaabb4f5d53f8d2099dfe9943bf319d52 /bam.lua
parent2f13288a23da4dfaf6c40e1e943f83d8fa43145a (diff)
downloadkogata-327d62f7d56f79999cac6407bdfdcc0b90510aef.tar.gz
kogata-327d62f7d56f79999cac6407bdfdcc0b90510aef.zip
cppcheck integration ; not much
Diffstat (limited to 'bam.lua')
-rw-r--r--bam.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/bam.lua b/bam.lua
index be75fe5..1d9399d 100644
--- a/bam.lua
+++ b/bam.lua
@@ -3,7 +3,7 @@
--
function BuildOutput(settings, fname)
- if fname:sub(1, 4) == "src/" then
+ if fname:sub(1, 4) == "src/" or fname:sub(1, 4) == "res/" then
fname = fname:sub(5)
end
local out = PathJoin("build", PathBase(fname) .. settings.config_ext)