diff options
| author | Mike McQuaid | 2014-01-04 13:08:42 +0000 | 
|---|---|---|
| committer | Mike McQuaid | 2014-01-04 13:35:42 +0000 | 
| commit | 82b9bac6ad754c7801a868f965e3e708420d482c (patch) | |
| tree | 47cb2a8a775f6796ba80497822507b84744e89ec /Library/Formula/libmagic.rb | |
| parent | 953838ee51406fbb524d244b034ff098de7cbd20 (diff) | |
| download | homebrew-82b9bac6ad754c7801a868f965e3e708420d482c.tar.bz2 | |
libmagic: cleanup python usage.
Diffstat (limited to 'Library/Formula/libmagic.rb')
| -rw-r--r-- | Library/Formula/libmagic.rb | 12 | 
1 files changed, 2 insertions, 10 deletions
diff --git a/Library/Formula/libmagic.rb b/Library/Formula/libmagic.rb index 0adba1953..2a02bd0d5 100644 --- a/Library/Formula/libmagic.rb +++ b/Library/Formula/libmagic.rb @@ -25,22 +25,14 @@ class Libmagic < Formula                            "--enable-fsect-man5"      system "make install" -    python do -      cd "python" do -        system python, "setup.py", "install", "--prefix=#{prefix}" -      end +    cd "python" do +      system "python", "setup.py", "install", "--prefix=#{prefix}"      end      # Don't dupe this system utility      rm bin/"file"      rm man1/"file.1"    end - -  test do -    if build.with? 'python' -      system 'python', '-c', "import magic; magic._init()" -    end -  end  end  __END__  | 
