Use Ruby commands in preference to UNIX commands
This commit is contained in:
parent
880f684a92
commit
636de48f7e
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue