diff options
author | Sinan Kaya <sinan.kaya@microsoft.com> | 2019-03-11 17:01:39 +0000 |
---|---|---|
committer | Sinan Kaya <sinan.kaya@microsoft.com> | 2019-03-17 21:10:56 +0000 |
commit | 9d81fad0a06a5153968493bf23e5b782789581c8 (patch) | |
tree | 747a90f160e3c23c76268643225128c4a6077f4e /build-test.sh | |
parent | d6449a27effa7c983488f183dd00942fa3e3e882 (diff) | |
download | coreclr-9d81fad0a06a5153968493bf23e5b782789581c8.tar.gz coreclr-9d81fad0a06a5153968493bf23e5b782789581c8.tar.bz2 coreclr-9d81fad0a06a5153968493bf23e5b782789581c8.zip |
Correct current script dir detection
Diffstat (limited to 'build-test.sh')
-rwxr-xr-x | build-test.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/build-test.sh b/build-test.sh index fe86703f56..598e015c3a 100755 --- a/build-test.sh +++ b/build-test.sh @@ -436,7 +436,8 @@ build_native_projects() pushd "$intermediatesForBuild" # Regenerate the CMake solution # Force cross dir to point to project root cross dir, in case there is a cross build. - nextCommand="CONFIG_DIR=\"$__ProjectRoot/cross\" \"$__ProjectRoot/src/pal/tools/gen-buildsys-clang.sh\" \"$__TestDir\" $__ClangMajorVersion $__ClangMinorVersion $platformArch $__BuildType $__CodeCoverage $generator $extraCmakeArguments $__cmakeargs" + scriptDir="$__ProjectRoot/src/pal/tools" + nextCommand="CONFIG_DIR=\"$__ProjectRoot/cross\" \"$scriptDir/gen-buildsys-clang.sh\" \"$__TestDir\" $__ClangMajorVersion $__ClangMinorVersion $platformArch $scriptDir $__BuildType $__CodeCoverage $generator $extraCmakeArguments $__cmakeargs" echo "Invoking $nextCommand" eval $nextCommand popd |