summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorMatt Mitchell <mmitche@microsoft.com>2015-02-24 10:49:49 -0800
committerMatt Mitchell <mmitche@microsoft.com>2015-02-24 10:49:49 -0800
commitbc7fb17b601b77f04827df2952582f25f53fc69f (patch)
tree54090489dc24e55c39e94a8d30ca717c15053966 /build.sh
parentb3cc56f4dcafa67303f7073ad1b75e05e1c59218 (diff)
downloadcoreclr-bc7fb17b601b77f04827df2952582f25f53fc69f.tar.gz
coreclr-bc7fb17b601b77f04827df2952582f25f53fc69f.tar.bz2
coreclr-bc7fb17b601b77f04827df2952582f25f53fc69f.zip
Two random fixes
* Use uname -s on mac * Don't print "Running ..." for pal tests (will still print failures). Cuts down on noise in output.
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 0fd00413ed..bcc2aba42f 100755
--- a/build.sh
+++ b/build.sh
@@ -91,7 +91,7 @@ __BuildArch=x64
# Use uname to determine what the OS is.
if [ $(uname -o | grep -i Linux) ]; then
__BuildOS=linux
-elif [ $(uname -o | grep -i Darwin) ]; then
+elif [ $(uname -s | grep -i Darwin) ]; then
__BuildOS=mac
else
echo "Unsupported OS detected, assuming linux"