diff options
| author | Max Howell | 2009-11-05 18:22:45 +0000 | 
|---|---|---|
| committer | Max Howell | 2009-11-07 18:22:34 +0000 | 
| commit | 8db9aaaddb198907a6f6d65bcdab802b1779341b (patch) | |
| tree | f5995d4c66092a2ec54416518b78f808c7ae2c58 /Library/Formula/solr.rb | |
| parent | 3f20a0268e502d8982339d99edc791ff94f3d5b7 (diff) | |
| download | homebrew-8db9aaaddb198907a6f6d65bcdab802b1779341b.tar.bz2 | |
Use Ruby commands in preference to UNIX commands
Diffstat (limited to 'Library/Formula/solr.rb')
| -rw-r--r-- | Library/Formula/solr.rb | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/Library/Formula/solr.rb b/Library/Formula/solr.rb index 45cf581b7..8f9f14791 100644 --- a/Library/Formula/solr.rb +++ b/Library/Formula/solr.rb @@ -15,8 +15,8 @@ class Solr <Formula    md5 '23774b077598c6440d69016fed5cc810'    def install -    system "mkdir -p #{prefix}" -    system "mv * #{prefix}" +    prefix.mkpath +    prefix.install Dir['*']      (bin+'solr').write(SOLR_START_SCRIPT % prefix)    end | 
