diff options
author | Wes Haggard <Wes.Haggard@microsoft.com> | 2017-10-26 09:31:31 -0700 |
---|---|---|
committer | Wes Haggard <Wes.Haggard@microsoft.com> | 2017-10-30 13:06:27 -0700 |
commit | 9ef72005e8909772780d120efc72c8ce953ac173 (patch) | |
tree | 8dd5641445d0e58289ba741e54cb82036cc34d06 /build.sh | |
parent | 3c483846130b17c6c3a7d712c139d2195798165e (diff) | |
download | coreclr-9ef72005e8909772780d120efc72c8ce953ac173.tar.gz coreclr-9ef72005e8909772780d120efc72c8ce953ac173.tar.bz2 coreclr-9ef72005e8909772780d120efc72c8ce953ac173.zip |
Switch to sourcing in init-tools to enable the return statements to work
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -175,7 +175,7 @@ restore_optdata() # Parse the optdata package versions out of msbuild so that we can pass them on to CMake local DotNetCli="$__ProjectRoot/Tools/dotnetcli/dotnet" if [ ! -f $DotNetCli ]; then - "$__ProjectRoot/init-tools.sh" + source "$__ProjectRoot/init-tools.sh" if [ $? != 0 ]; then echo "Failed to restore buildtools." exit 1 @@ -334,7 +334,7 @@ build_native() echo "Failed to generate $message build project!" exit 1 fi - + # Build if [ $__ConfigureOnly == 1 ]; then echo "Finish configuration & skipping $message build." |