chamber: remove unnecessary buildpath from cd do

This commit is contained in:
commitay 2018-06-11 12:33:20 +10:00 committed by ilovezfs
parent c207e2ab63
commit c8132164c6

View file

@ -24,7 +24,7 @@ class Chamber < Formula
path = buildpath/"src/github.com/segmentio/chamber"
path.install Dir["{*,.git}"]
cd buildpath/"src/github.com/segmentio/chamber" do
cd "src/github.com/segmentio/chamber" do
system "govendor", "sync"
system "go", "build", "-o", bin/"chamber",
"-ldflags", "-X main.Version=#{version}"