aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2013-12-01 20:20:05 -0600
committerJack Nagel2013-12-01 20:20:05 -0600
commitcd2aec93c5d3b9b34c90fa3f2461a4c8996a57a7 (patch)
treea94b004fff3f8d942dda881cafa4a786610d7463 /Library/Formula
parent7a790c0c51c275302967cbc41d631a237e333ee6 (diff)
downloadhomebrew-cd2aec93c5d3b9b34c90fa3f2461a4c8996a57a7.tar.bz2
Remove parens in conditional
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/go.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/go.rb b/Library/Formula/go.rb
index 68d5d1424..398189790 100644
--- a/Library/Formula/go.rb
+++ b/Library/Formula/go.rb
@@ -48,7 +48,7 @@ class Go < Formula
cd 'src' do
targets.each do |os, archs|
- cgo_enabled = ((os == 'darwin') && build.with?('cgo')) ? "1" : "0"
+ cgo_enabled = os == 'darwin' && build.with?('cgo') ? "1" : "0"
archs.each do |arch|
ENV['GOROOT_FINAL'] = libexec
ENV['GOOS'] = os