diff options
| author | Jack Nagel | 2013-07-22 22:34:56 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-07-22 22:34:56 -0500 |
| commit | 736bb81772bbfd1127080a86606bd525185f53ca (patch) | |
| tree | daac8955d2d4f71b30572b2144bc24567b8720c5 /Library/Formula | |
| parent | d77aac39bdcfd1b0a8fd6e7b69a6014cf3d1bc2f (diff) | |
| download | homebrew-736bb81772bbfd1127080a86606bd525185f53ca.tar.bz2 | |
sip: simplify sip3 installation
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/sip.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Library/Formula/sip.rb b/Library/Formula/sip.rb index 446c5a4ae..9acbb03c8 100644 --- a/Library/Formula/sip.rb +++ b/Library/Formula/sip.rb @@ -30,10 +30,7 @@ class Sip < Formula "--incdir=#{include}", "--sipdir=#{HOMEBREW_PREFIX}/share/sip#{python.if3then3}" system "make" - if python3 - bin.mkdir unless bin.exist? - bin.install 'sipgen/sip' => 'sip3' - end + bin.install 'sipgen/sip' => 'sip3' if python3 system "make install" system "make clean" end @@ -46,5 +43,4 @@ class Sip < Formula s += "The sip-dir for Python #{python.version.major}.x is #{HOMEBREW_PREFIX}/share/sip#{python.if3then3}." s end - end |
