diff --git a/admin/node.sh b/admin/node.sh new file mode 100755 index 0000000000..3326cd3bc8 --- /dev/null +++ b/admin/node.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +ORIGDIR=$(pwd) +cd $(dirname $0) +cd .. +TOPDIR=$(pwd) + +# download dev bundle if we don't have it already +if [ ! -d dev_bundle ] ; then + ./meteor --version +fi + +cd "$ORIGDIR" +export NODE_PATH="$TOPDIR/dev_bundle/lib/node_modules" +exec "$TOPDIR/dev_bundle/bin/node" $*