diff --git a/build/post-install.js b/build/post-install.js index c3be03b66..7b995b206 100644 --- a/build/post-install.js +++ b/build/post-install.js @@ -114,7 +114,7 @@ process.exit(); } // exit early if not a global install - if (path.resolve(basePath, '..') != stdout.trim()) { + if (path.resolve(basePath, '..') != fs.realpathSync(stdout.trim())) { return; } // download the Closure Compiler