diff options
| author | Adam Vandenberg | 2012-02-12 11:16:20 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2012-02-12 20:09:02 -0800 |
| commit | a58761f0db6523a91207854db5c77d44409e607e (patch) | |
| tree | c0f0bbdc0afd27da6765eb82f43f4ca23ead1fba /Library/Formula | |
| parent | b78cfbdcafd652313de57bf9c0bc7f53669ceed7 (diff) | |
| download | homebrew-a58761f0db6523a91207854db5c77d44409e607e.tar.bz2 | |
shocco: use install_symlink
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/shocco.rb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Library/Formula/shocco.rb b/Library/Formula/shocco.rb index 6943a7e91..78cc9cd55 100644 --- a/Library/Formula/shocco.rb +++ b/Library/Formula/shocco.rb @@ -9,14 +9,14 @@ class Pygments < Formula end class Shocco < Formula + homepage 'http://rtomayko.github.com/shocco/' head 'https://github.com/rtomayko/shocco.git', :commit => '06ab9ecebd713a1a6ae695b190a775ca6dfeb7b2' - homepage 'http://rtomayko.github.com/shocco/' depends_on 'markdown' def install - Pygments.new.brew { libexec.install ['pygmentize','pygments'] } + Pygments.new.brew { libexec.install 'pygmentize','pygments' } # Brew into libexec, along with Pygments system "./configure", "PYGMENTIZE=#{libexec}/pygmentize", "--prefix=#{libexec}" @@ -24,8 +24,7 @@ class Shocco < Formula libexec.install "shocco" # Link the script into bin - bin.mkpath - ln_s libexec+"shocco", bin + bin.install_symlink libexec+"shocco" end def caveats |
