diff options
| author | Baptiste Fontaine | 2015-12-14 13:50:00 +0100 | 
|---|---|---|
| committer | Baptiste Fontaine | 2015-12-14 13:50:00 +0100 | 
| commit | fedbb0627803e21718ade9e8970171a997a57d97 (patch) | |
| tree | a3541e3c0714c83ea94e17a05e37f4b1dd5490c5 /Library | |
| parent | af77e8b380070d4a8b22a27db42621a4f72e2e80 (diff) | |
| download | brew-fedbb0627803e21718ade9e8970171a997a57d97.tar.bz2 | |
os/mac: indent fixes
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/os/mac.rb | 8 | 
1 files changed, 4 insertions, 4 deletions
diff --git a/Library/Homebrew/os/mac.rb b/Library/Homebrew/os/mac.rb index 73371bbbd..72380372e 100644 --- a/Library/Homebrew/os/mac.rb +++ b/Library/Homebrew/os/mac.rb @@ -127,7 +127,7 @@ module OS      def gcc_40_build_version        @gcc_40_build_version ||=          if (path = locate("gcc-4.0")) -        `#{path} --version`[/build (\d{4,})/, 1].to_i +          `#{path} --version`[/build (\d{4,})/, 1].to_i          end      end      alias_method :gcc_4_0_build_version, :gcc_40_build_version @@ -146,21 +146,21 @@ module OS      def llvm_build_version        @llvm_build_version ||=          if (path = locate("llvm-gcc")) && path.realpath.basename.to_s !~ /^clang/ -        `#{path} --version`[/LLVM build (\d{4,})/, 1].to_i +          `#{path} --version`[/LLVM build (\d{4,})/, 1].to_i          end      end      def clang_version        @clang_version ||=          if (path = locate("clang")) -        `#{path} --version`[/(?:clang|LLVM) version (\d\.\d)/, 1] +          `#{path} --version`[/(?:clang|LLVM) version (\d\.\d)/, 1]          end      end      def clang_build_version        @clang_build_version ||=          if (path = locate("clang")) -        `#{path} --version`[/clang-(\d{2,})/, 1].to_i +          `#{path} --version`[/clang-(\d{2,})/, 1].to_i          end      end  | 
