Permalink
Browse files

[enhance] qml2js: use the real npm global location in NODE_PATH

  • Loading branch information...
1 parent ad6d222 commit e4593ca37f0e2fd8116728af35680548d7269c78 @Aqua-Ye Aqua-Ye committed Oct 31, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 compiler/qml2js/qml2js.ml
@@ -114,7 +114,7 @@ struct
"$NODE_PATH";
"node_modules";
static_path;
- "/usr/local/lib/node_modules";
+ "`which npm > /dev/null 2>&1 && npm root -g`";
])
(* Write shell script incantation to check dependencies,

0 comments on commit e4593ca

Please sign in to comment.