diff options
author | Ivan Baravy <i.baravy@samsung.com> | 2016-06-24 16:59:51 +0400 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2016-06-24 05:59:51 -0700 |
commit | 422f37e2ee9eb7a8c5237811c12151072312cf12 (patch) | |
tree | f08231b5c2480e1326eaec4c8aa9e45605e51cd7 /init-tools.sh | |
parent | 27e0e1414b7405fa6bb49eecbf97fa1df57fb0b5 (diff) | |
download | coreclr-422f37e2ee9eb7a8c5237811c12151072312cf12.tar.gz coreclr-422f37e2ee9eb7a8c5237811c12151072312cf12.tar.bz2 coreclr-422f37e2ee9eb7a8c5237811c12151072312cf12.zip |
Fix typo to apply mac build workaround only on OSX (#5988)
/init-tools.sh:72 tries to compare strings like this:
if [ "$OS"=="OSX" ]; then
What it actually does is different to what it looks like:
$ echo $OS
$ if [ "$OS"=="OSX" ]; then echo EQUAL; fi
EQUAL
$ if [ "$OS" == "OSX" ]; then echo EQUAL; fi
$
This commit fixes the typo and makes OSX workaround run on macs only.
Diffstat (limited to 'init-tools.sh')
-rwxr-xr-x | init-tools.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init-tools.sh b/init-tools.sh index 647eba69c5..0c56966223 100755 --- a/init-tools.sh +++ b/init-tools.sh @@ -69,7 +69,7 @@ esac initDistroName $OS # Work around mac build issue -if [ "$OS"=="OSX" ]; then +if [ "$OS" == "OSX" ]; then echo Raising file open limit - otherwise Mac build may fail echo ulimit -n 2048 ulimit -n 2048 |