aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2012-02-12 22:23:26 -0800
committerAdam Vandenberg2012-02-12 22:23:26 -0800
commit81303d7cb65de5633e2eb7081d94726bd29115ae (patch)
treefb818b53ffb0dae3c6bdba3975cee2ba1a5451bd /Library
parent94e1581b8e87e4d6a5853562eced6826fb026108 (diff)
downloadhomebrew-81303d7cb65de5633e2eb7081d94726bd29115ae.tar.bz2
drush: use install_symlink
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/drush.rb9
1 files changed, 4 insertions, 5 deletions
diff --git a/Library/Formula/drush.rb b/Library/Formula/drush.rb
index 22a7544c8..e9155c2ad 100644
--- a/Library/Formula/drush.rb
+++ b/Library/Formula/drush.rb
@@ -1,21 +1,20 @@
require 'formula'
class DrushMake < Formula
- url 'http://ftp.drupal.org/files/projects/drush_make-6.x-2.3.tar.gz'
homepage 'http://drupal.org/project/drush_make'
+ url 'http://ftp.drupal.org/files/projects/drush_make-6.x-2.3.tar.gz'
md5 'd6636db943d4f996474b09245060263c'
end
class Drush < Formula
- url 'http://ftp.drupal.org/files/projects/drush-7.x-4.5.tar.gz'
- head 'git://git.drupal.org/project/drush.git'
homepage 'http://drupal.org/project/drush'
+ url 'http://ftp.drupal.org/files/projects/drush-7.x-4.5.tar.gz'
md5 'f6df0593c3d3c9a5a2d0bb382bf629ba'
+ head 'git://git.drupal.org/project/drush.git'
def install
prefix.install Dir['*'] # No lib folder, so this is OK for now.
- bin.mkpath
- symlink prefix+'drush', bin+'drush'
+ bin.install_symlink prefix+'drush'
DrushMake.new.brew { (prefix+'commands/drush_make').install Dir['*'] }
end
end