From cf4fd74f525fd068bd03f06da46e867235e0a006 Mon Sep 17 00:00:00 2001 From: Ari Lazier Date: Tue, 10 May 2016 14:01:27 -0700 Subject: [PATCH] pr fixes for build script --- src/node/build-node.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/node/build-node.sh b/src/node/build-node.sh index 360dadf5..101450ed 100755 --- a/src/node/build-node.sh +++ b/src/node/build-node.sh @@ -3,6 +3,8 @@ set -o pipefail set -e +cd "$(dirname "$0")" + CONFIGURATION="${1:-"Release"}" if [ -s "${HOME}/.nvm/nvm.sh" ]; then @@ -21,4 +23,4 @@ fi # Link to the appropriate module in the build directory. mkdir -p ../../build -ln -fs "../src/node/build/$CONFIGURATION/realm.node" ../../build +ln -fs "build/$CONFIGURATION/realm.node" ../../build