9 lines
157 B
Bash

#!/bin/bash
root_dir=$(cd `dirname $0`/.. && pwd -P)
echo $root_dir
export PATH="$root_dir/node/bin":$PATH
node --version
exec "$root_dir/test/path-node2"