Skip to content
This repository has been archived by the owner on Feb 25, 2020. It is now read-only.

Commit

Permalink
looks like npm root is all over the place
Browse files Browse the repository at this point in the history
  • Loading branch information
olegp committed Sep 7, 2011
1 parent 8041489 commit 07843d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/common-node
@@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
if [ ! -n "$NODE_PATH" ]; then if [ ! -n "$NODE_PATH" ]; then
NODE_PATH="/usr/local/lib/node_modules" NODE_PATH="$(npm root -g)"
fi fi
COMMON_PATH="$NODE_PATH/common-node/lib/" COMMON_PATH="$NODE_PATH/common-node/lib/"
export NODE_PATH="$NODE_PATH:$COMMON_PATH" export NODE_PATH="$NODE_PATH:$COMMON_PATH"
Expand Down

0 comments on commit 07843d3

Please sign in to comment.