aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/node.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/node.js b/tools/node.js
index b08559ad..9e9c2c14 100644
--- a/tools/node.js
+++ b/tools/node.js
@@ -35,7 +35,7 @@ var FILES = exports.FILES = [
"../lib/sourcemap.js",
"../lib/mozilla-ast.js"
].map(function(file){
- return path.join(path.dirname(fs.realpathSync(__filename)), file);
+ return fs.realpathSync(path.join(path.dirname(__filename), file));
});
FILES.forEach(load_global);