From d8bc5f8ecfc3e6b7fb361cbd8526e0cdb13458d6 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 19 Feb 2019 13:28:10 +0000 Subject: [PATCH] elb-tools: fix rubocop 0.65.0 style. --- Formula/elb-tools.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Formula/elb-tools.rb b/Formula/elb-tools.rb index c719bf29c0..20e30cf425 100644 --- a/Formula/elb-tools.rb +++ b/Formula/elb-tools.rb @@ -16,8 +16,10 @@ class ElbTools < Formula libexec.install Dir["*"] Pathname.glob("#{libexec}/bin/*") do |file| next if file.directory? + basename = file.basename next if basename.to_s == "service" + (bin/basename).write_env_script file, env end end