Permalink
Browse files

NODE_PATH was not exported so after execing the application we lose t…

…he variable
  • Loading branch information...
1 parent ff676d9 commit b13501ad86732454fed37eb18ebf7889e5eca767 @silasb silasb committed Dec 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 package/mac/AppBundle.skel.app/Contents/MacOS/appjs
@@ -5,5 +5,5 @@ function realpath_f () {(cd "$1" && echo "$(pwd -P)")}
basedir="$( realpath_f `dirname ${0}` )";
basedir="$( dirname ${basedir} )";
-NODE_PATH="${basedir}/MacOS/node_modules";
+export NODE_PATH="${basedir}/MacOS/node_modules";
exec $basedir/MacOS/bin/node --harmony $basedir/Resources/app.js;

0 comments on commit b13501a

Please sign in to comment.