diff options
author | Aditya Mandaleeka <adityamandaleeka@users.noreply.github.com> | 2016-06-03 13:13:47 -0700 |
---|---|---|
committer | Aditya Mandaleeka <adityamandaleeka@users.noreply.github.com> | 2016-06-03 13:13:47 -0700 |
commit | 924b56813d3b1c7cde0c7ea9ea9d8d86370581e3 (patch) | |
tree | bb2d7009c71f114add5e50fc8337c9ae98829010 | |
parent | 7d7e3c34c5ea4fdd79952a4be7a4b4d91b580cdb (diff) | |
parent | 9efea10043f187cb66afe9d7efaf80b7b43384b9 (diff) | |
download | coreclr-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-x | build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |