diff --git a/build/InstallNugets.sh b/build/InstallNugets.sh index c590f7a182..666775f1e5 100755 --- a/build/InstallNugets.sh +++ b/build/InstallNugets.sh @@ -1,4 +1,5 @@ wget https://nuget.org/nuget.exe -mono nuget.exe install NUnit -Version 2.6.4 -OutputDirectory ../deps -mono nuget.exe install NUnit.Runners -Version 2.6.4 -OutputDirectory ../deps -cp ../deps/NUnit.2.6.4/lib/nunit.framework.* deps/NUnit/ +BUILD_DIR=$(dirname -- $0) +mono nuget.exe install NUnit -Version 2.6.4 -OutputDirectory $BUILD_DIR/../deps +mono nuget.exe install NUnit.Runners -Version 2.6.4 -OutputDirectory $BUILD_DIR/../deps +cp $BUILD_DIR/../deps/NUnit.2.6.4/lib/nunit.framework.* $BUILD_DIR/../deps/NUnit