Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/premake-4.x.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Perkins <starkos@industriousone.com>2011-07-25 21:58:40 +0400
committerJason Perkins <starkos@industriousone.com>2011-07-25 21:58:40 +0400
commit53e7888a3d38bce52c345ac98ccce1590be8f636 (patch)
treef302419c5531b2c1f0bf52aef875ea38008f16d9
parentf413bd124154b788e7a799b9c37c2bd1023723b5 (diff)
Removed block-commented code that was showing up in release builds4.4-beta2
-rw-r--r--src/base/project.lua29
1 files changed, 0 insertions, 29 deletions
diff --git a/src/base/project.lua b/src/base/project.lua
index 6111ff4..e6df692 100644
--- a/src/base/project.lua
+++ b/src/base/project.lua
@@ -565,36 +565,7 @@
end
end
end
-
---[[
- for pattern, replacement in pairs(prj.vpaths) do
- -- does the filename match this vpath pattern?
- local i = vpath:find(path.wildcards(pattern))
- if i == 1 then
- -- yes; trim the leading portion of the path
- i = pattern:find("*", 1, true) or (pattern:len() + 1)
- local leaf = vpath:sub(i)
- if leaf:startswith("/") then
- leaf = leaf:sub(2)
- end
-
- -- check for (and remove) stars in the replacement pattern.
- -- If there are none, then trim all path info from the leaf
- -- and use just the filename in the replacement (stars should
- -- really only appear at the end; I'm cheating here)
- local stem = ""
- if replacement:len() > 0 then
- stem, stars = replacement:gsub("%*", "")
- if stars == 0 then
- leaf = path.getname(leaf)
- end
- end
- vpath = path.join(stem, leaf)
- end
- end
---]]
-
-- remove any dot ("./", "../") patterns from the start of the path
local changed
repeat