Permalink
Browse files

Merge pull request #264 from silasb/fix-for-mac-package

NODE_PATH was not exported so after execing the application we lose the variable
  • Loading branch information...
2 parents ff676d9 + b13501a commit 26c51de2f70ffe6d96028feca2e5f9f958078504 @milani milani committed Dec 6, 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 26c51de

Please sign in to comment.