diff options
| author | Jack Nagel | 2014-03-26 17:27:10 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-03-26 17:38:24 -0500 |
| commit | 55aa56a1e2badbe580aa4794bd6249c96358697b (patch) | |
| tree | dd13c7ae3c21398dd21dc80110f6304051f74c11 | |
| parent | 21a3ec97269fd4c782606365e399c8ba951eaefd (diff) | |
| download | homebrew-55aa56a1e2badbe580aa4794bd6249c96358697b.tar.bz2 | |
neko: use install_symlink
| -rw-r--r-- | Library/Formula/neko.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Library/Formula/neko.rb b/Library/Formula/neko.rb index 01c17c8ab..f64e79716 100644 --- a/Library/Formula/neko.rb +++ b/Library/Formula/neko.rb @@ -31,11 +31,10 @@ class Neko < Formula neko.install Dir['bin/*'] # Symlink into bin so libneko.dylib resolves correctly for custom prefix - bin.mkpath %w(neko nekoc nekoml nekotools).each do |file| - (bin/file).make_relative_symlink(neko/file) + bin.install_symlink neko/file end - (lib/'libneko.dylib').make_relative_symlink(neko/'libneko.dylib') + lib.install_symlink neko/"libneko.dylib" end test do |
