mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
Remove the /bin/env
command before using sed and rely on $PATH
related to a discussion in #5468 Fixes #5471
This commit is contained in:
parent
53ed1defd0
commit
c2a76b9aed
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ module ServiceTester
|
|||
|
||||
def replace_in_gemfile(pattern, replace, host)
|
||||
gemfile = File.join(LOGSTASH_PATH, "Gemfile")
|
||||
cmd = "/bin/env sed -i.sedbak 's/#{pattern}/#{replace}/' #{gemfile}"
|
||||
cmd = "sed -i.sedbak 's/#{pattern}/#{replace}/' #{gemfile}"
|
||||
run_command(cmd, host)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue