Skip to content

Commit

Permalink
mpd: style fixes
Browse files Browse the repository at this point in the history
Closes Homebrew/legacy-homebrew#47062.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
  • Loading branch information
bfontaine committed Dec 16, 2015
1 parent 1a870eb commit cad0d20
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Formula/mpd.rb
Expand Up @@ -93,7 +93,7 @@ def install
ENV.j1 # Directories are created in parallel, so let's not do that
system "make", "install"

(etc+"mpd").install "doc/mpdconf.example" => "mpd.conf"
(etc/"mpd").install "doc/mpdconf.example" => "mpd.conf"
end

plist_options :manual => "mpd"
Expand Down Expand Up @@ -128,10 +128,10 @@ def plist; <<-EOS.undent
sleep 2

begin
assert_match /OK MPD/, shell_output("curl localhost:6600")
assert_match "OK MPD", shell_output("curl localhost:6600")
ensure
Process.kill("SIGINT", pid)
Process.wait(pid)
Process.kill "SIGINT", pid
Process.wait pid
end
end
end

0 comments on commit cad0d20

Please sign in to comment.