From d4a51e9996fdb23a4ade7a3f5325bcca152ee55d Mon Sep 17 00:00:00 2001 From: Emanuele Zattin Date: Tue, 3 Jan 2017 12:40:36 +0100 Subject: [PATCH] Make the symlink relative --- scripts/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/test.sh b/scripts/test.sh index 077de7ce..4c5c54f0 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -344,7 +344,7 @@ case "$TARGET" in # Create a fake realm module that points to the source root so that test-runner tests can require('realm') rm -rf "$SRCROOT/tests/test-runners/node-modules/realm" mkdir -p "$SRCROOT/tests/test-runners/node-modules" - ln -s "$SRCROOT" "$SRCROOT/tests/test-runners/node-modules/realm" + ln -s "../../.." "$SRCROOT/tests/test-runners/node-modules/realm" npm install --build-from-source