narwhal: use install_symlink

This commit is contained in:
Adam Vandenberg committed 2012-02-12 20:09:00 -08:00
1 parent 28b82ecd22
commit b74d84bcae
1 file changed
+2 -3
+2 -3
View File
@@ -1,16 +1,15 @@
require 'formula'
class Narwhal < Formula
homepage 'http://www.narwhaljs.org/'
url 'https://github.com/280north/narwhal/tarball/v0.3.2'
md5 'c5f8c0af38b79a7a7b827d3f05f79e21'
homepage 'http://www.narwhaljs.org/'
head 'https://github.com/280north/narwhal.git'
def install
rm Dir['bin/*.cmd']
libexec.install Dir['*']
bin.mkpath
Dir["#{libexec}/bin/*"].each { |d| ln_s d, bin }
bin.install_symlink Dir["#{libexec}/bin/*"]
end
end