diff --git a/Formula/ec2-api-tools.rb b/Formula/ec2-api-tools.rb index 8fa7613b15..2f27b08ee4 100644 --- a/Formula/ec2-api-tools.rb +++ b/Formula/ec2-api-tools.rb @@ -14,8 +14,10 @@ class Ec2ApiTools < 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