aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/sip.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/sip.rb b/Library/Formula/sip.rb
index a29f04060..5d36ddd72 100644
--- a/Library/Formula/sip.rb
+++ b/Library/Formula/sip.rb
@@ -19,7 +19,7 @@ class Sip < Formula
end
def install
- if ARGV.build_head?
+ if build.head?
# Set fallback version to the same value it would have without the patch
# and link the Mercurial repository into the download directory so
# buid.py can use it to figure out a version number.