diff --git a/lib/common.js b/lib/common.js index daa1aa811..988bc5c7c 100644 --- a/lib/common.js +++ b/lib/common.js @@ -99,7 +99,7 @@ exports.readJSONSync = function(file) { return pjson; }; -exports.HOME = process.env.JSPMPATH || process.env.LOCALAPPDATA || process.env.HOME || process.env.HOMEPATH; +exports.HOME = process.env.JSPM_GLOBAL_PATH || process.env.LOCALAPPDATA || process.env.HOME || process.env.HOMEPATH; var isWin = process.platform.match(/^win/); exports.isWin = isWin;