aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/v8.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2010-02-18 10:05:01 -0800
committerAdam Vandenberg2010-03-07 11:27:23 -0800
commitec4906b85a5fdddd085f34e4aea70ed604dad9a7 (patch)
tree30cac41f749a6c2c698526fa5f5c70b0a2065eff /Library/Formula/v8.rb
parent1104bda9287aa4e2440dfff794b982b391eebe23 (diff)
downloadhomebrew-ec4906b85a5fdddd085f34e4aea70ed604dad9a7.tar.bz2
Use Pathname support for renames.
Diffstat (limited to 'Library/Formula/v8.rb')
-rw-r--r--Library/Formula/v8.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/Library/Formula/v8.rb b/Library/Formula/v8.rb
index e8f5eece1..91f6a711c 100644
--- a/Library/Formula/v8.rb
+++ b/Library/Formula/v8.rb
@@ -22,9 +22,7 @@ class V8 <Formula
include.install(Dir['include/*'])
lib.install(Dir['libv8.*'])
-
- mv('shell', 'v8')
- bin.install('v8')
+ bin.install 'shell' => 'v8'
system "install_name_tool -change libv8.dylib #{lib}/libv8.dylib #{bin+'v8'}"
end