diff --git a/Formula/docker.rb b/Formula/docker.rb index af6a430370..cb6a4482da 100644 --- a/Formula/docker.rb +++ b/Formula/docker.rb @@ -18,8 +18,11 @@ class Docker < Formula option "without-completions", "Disable bash/zsh completions" depends_on "go" => :build - depends_on "libtool" => :run if build.with?("experimental") - depends_on "yubico-piv-tool" => :recommended if build.with?("experimental") + + if build.with? "experimental" + depends_on "libtool" => :run + depends_on "yubico-piv-tool" => :recommended + end def install ENV["AUTO_GOPATH"] = "1"