summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAditya Mandaleeka <adityamandaleeka@users.noreply.github.com>2016-06-03 13:13:47 -0700
committerAditya Mandaleeka <adityamandaleeka@users.noreply.github.com>2016-06-03 13:13:47 -0700
commit924b56813d3b1c7cde0c7ea9ea9d8d86370581e3 (patch)
treebb2d7009c71f114add5e50fc8337c9ae98829010
parent7d7e3c34c5ea4fdd79952a4be7a4b4d91b580cdb (diff)
parent9efea10043f187cb66afe9d7efaf80b7b43384b9 (diff)
downloadcoreclr-924b56813d3b1c7cde0c7ea9ea9d8d86370581e3.tar.gz
coreclr-924b56813d3b1c7cde0c7ea9ea9d8d86370581e3.tar.bz2
coreclr-924b56813d3b1c7cde0c7ea9ea9d8d86370581e3.zip
Merge pull request #5462 from pefoley2/uname_p
Properly handle uname -p output that contains spaces
-rwxr-xr-xbuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 61ee3c16e6..fe4c0b01ce 100755
--- a/build.sh
+++ b/build.sh
@@ -358,7 +358,7 @@ __ProjectRoot="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
# Use uname to determine what the CPU is.
CPUName=$(uname -p)
# Some Linux platforms report unknown for platform, but the arch for machine.
-if [ $CPUName == "unknown" ]; then
+if [ "$CPUName" == "unknown" ]; then
CPUName=$(uname -m)
fi