diff --git a/boot/boot.js b/boot/boot.js index 8b9aa4b54..fe34f2734 100644 --- a/boot/boot.js +++ b/boot/boot.js @@ -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; };