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

Commit

Permalink
simplified common-node script
Browse files Browse the repository at this point in the history
  • Loading branch information
olegp committed Aug 29, 2011
1 parent e256406 commit e81f4b7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/common-node
@@ -1,4 +1,7 @@
#!/bin/bash
if [ ! -n "$NODE_PATH" ]; then
NODE_PATH="/usr/local/lib/node_modules"
fi
COMMON_PATH="$NODE_PATH/common-node/lib/"
export NODE_PATH="$NODE_PATH:$COMMON_PATH"
exec node $COMMON_PATH/run.js "$@"

0 comments on commit e81f4b7

Please sign in to comment.