Use OS-independent path delimiter

Fixes #1187
This commit is contained in:
Jermolene 2014-12-03 17:24:59 +00:00
parent 870006d2b9
commit 1e3a41311d
1 changed files with 1 additions and 1 deletions

View File

@ -1537,7 +1537,7 @@ $tw.getLibraryItemSearchPaths = function(libraryPath,envVar) {
var pluginPaths = [path.resolve($tw.boot.corePath,libraryPath)],
env = process.env[envVar];
if(env) {
Array.prototype.push.apply(pluginPaths,env.split(":"));
Array.prototype.push.apply(pluginPaths,env.split(path.delimiter));
}
return pluginPaths;
};