Sync run.sh script with what is in corefx
authorWes Haggard <Wes.Haggard@microsoft.com>
Wed, 29 Nov 2017 23:24:22 +0000 (15:24 -0800)
committerWes Haggard <Wes.Haggard@microsoft.com>
Wed, 29 Nov 2017 23:24:22 +0000 (15:24 -0800)
commit2a11e40723f75adeace4523d66a980e39ed166b6
tree40195d58a7e4a2a6484fb2d4b3124d8a9f8e7288
parentd725b69d2bf0b2567aba023a84bbf51aeb8b2205
Sync run.sh script with what is in corefx

In particular we need to 'source' (i.e. '.') the init-tools script
so that it can correctly exit when tools are already initialized.

Commit migrated from https://github.com/dotnet/core-setup/commit/718ffc8559ccd0cdbbb48c31b55dac3bded15014
src/installer/run.sh