summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorWes Haggard <Wes.Haggard@microsoft.com>2017-10-26 16:31:31 (GMT)
committerWes Haggard <Wes.Haggard@microsoft.com>2017-10-30 20:06:27 (GMT)
commit9ef72005e8909772780d120efc72c8ce953ac173 (patch)
tree8dd5641445d0e58289ba741e54cb82036cc34d06 /build.sh
parent3c483846130b17c6c3a7d712c139d2195798165e (diff)
downloadcoreclr-9ef72005e8909772780d120efc72c8ce953ac173.zip
coreclr-9ef72005e8909772780d120efc72c8ce953ac173.tar.gz
coreclr-9ef72005e8909772780d120efc72c8ce953ac173.tar.bz2
Switch to sourcing in init-tools to enable the return statements to work
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/build.sh b/build.sh
index cbb2c8e..415736a 100755
--- a/build.sh
+++ b/build.sh
@@ -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."