Use Ruby commands in preference to UNIX commands

This commit is contained in:
Max Howell 2009-11-05 18:22:45 +00:00
parent 880f684a92
commit 636de48f7e

View file

@ -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