projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
545e4d6
)
configmanager: Fix checking of absolute paths on Windows
author
Kim Alvefur
<zash@zash.se>
Fri, 30 Aug 2013 16:51:55 +0000
(18:51 +0200)
committer
Kim Alvefur
<zash@zash.se>
Fri, 30 Aug 2013 16:51:55 +0000
(18:51 +0200)
core/configmanager.lua
patch
|
blob
|
history
diff --git
a/core/configmanager.lua
b/core/configmanager.lua
index 9720f48ac1156ed243b3d324f1cb968273c12ce9..d73bafa4e2bc2ff126b86056af72dd8f0c416106 100644
(file)
--- a/
core/configmanager.lua
+++ b/
core/configmanager.lua
@@
-77,7
+77,7
@@
do
local is_relative;
if path_sep == "/" and path:sub(1,1) ~= "/" then
is_relative = true;
- elseif path_sep == "\\" and (path:sub(1,1) ~= "/" and (path:sub(2,3) ~= ":\\"
or
path:sub(2,3) ~= ":/")) then
+ elseif path_sep == "\\" and (path:sub(1,1) ~= "/" and (path:sub(2,3) ~= ":\\"
and
path:sub(2,3) ~= ":/")) then
is_relative = true;
end
if is_relative then