aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/sip.rb
diff options
context:
space:
mode:
authorJack Nagel2012-07-10 16:01:02 -0500
committerJack Nagel2012-08-18 11:12:08 -0500
commit4affbabfb7aef915f716531ad0a39eff04ff9933 (patch)
tree9aeaede98bc672698de936cd0e180eccb0736324 /Library/Formula/sip.rb
parent7cfc6beaefb35910cabbb48d58dc81606c1885ec (diff)
downloadhomebrew-4affbabfb7aef915f716531ad0a39eff04ff9933.tar.bz2
Replace version strings with Version objects
Diffstat (limited to 'Library/Formula/sip.rb')
-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 1e142c252..a29f04060 100644
--- a/Library/Formula/sip.rb
+++ b/Library/Formula/sip.rb
@@ -28,7 +28,7 @@ class Sip < Formula
else
sip_version = version
end
- inreplace 'build.py', /@SIP_VERSION@/, (sip_version.gsub '.', ',')
+ inreplace 'build.py', /@SIP_VERSION@/, (sip_version.to_s.gsub '.', ',')
system "python", "build.py", "prepare"
# Set --destdir such that the python modules will be in the HOMEBREWPREFIX/lib/pythonX.Y/site-packages