From 1e3a41311d218a84bc77d37b41ce873015b5ec64 Mon Sep 17 00:00:00 2001 From: Jermolene Date: Wed, 3 Dec 2014 17:24:59 +0000 Subject: [PATCH] Use OS-independent path delimiter Fixes #1187 --- boot/boot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; };