From 422f37e2ee9eb7a8c5237811c12151072312cf12 Mon Sep 17 00:00:00 2001 From: Ivan Baravy Date: Fri, 24 Jun 2016 16:59:51 +0400 Subject: 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. --- init-tools.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'init-tools.sh') 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 -- cgit v1.2.3