comparison nodejs/run.sh @ 940:652199a55802

Add objs/default to NODE_PATH in run.sh
author Thinker K.F. Li <thinker@codemud.net>
date Fri, 12 Nov 2010 17:54:07 +0800
parents a74b4d986a91
children 613a7caa9bd6
comparison
equal deleted inserted replaced
939:a74b4d986a91 940:652199a55802
1 #!/bin/sh 1 #!/bin/sh
2 2
3 ABS=`realpath $0` 3 ABS=`realpath $0`
4 BASE=`dirname $ABS` 4 BASE=`dirname $ABS`
5 NODE_PATH=$BASE:$NODE_PATH 5 NODE_PATH=$BASE:$BASE/objs/default:$NODE_PATH
6 export NODE_PATH 6 export NODE_PATH
7 7
8 DIR=`dirname $1` 8 DIR=`dirname $1`
9 FNAME=`basename $1` 9 FNAME=`basename $1`
10 10