mirror of
https://github.com/gromgit/homebrew-fuse.git
synced 2025-12-31 15:02:17 +00:00
rclone-mac: fix audit failure
This commit is contained in:
parent
13940dfd32
commit
c4429b5053
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ class RcloneMac < Formula
|
||||||
system bin/name.to_s, "genautocomplete", "zsh", "_#{name}"
|
system bin/name.to_s, "genautocomplete", "zsh", "_#{name}"
|
||||||
inreplace "#{name}.bash" do |s|
|
inreplace "#{name}.bash" do |s|
|
||||||
s.gsub! "commands=(\"rclone\")", "commands=(\"#{name}\")"
|
s.gsub! "commands=(\"rclone\")", "commands=(\"#{name}\")"
|
||||||
s.gsub! /(-F __start_rclone) rclone$/, "\\1 #{name}"
|
s.gsub!(/(-F __start_rclone) rclone$/, "\\1 #{name}")
|
||||||
end
|
end
|
||||||
inreplace "_#{name}", /(#compdef _rclone) rclone$/, "\\1 #{name}"
|
inreplace "_#{name}", /(#compdef _rclone) rclone$/, "\\1 #{name}"
|
||||||
bash_completion.install "#{name}.bash" => name.to_s
|
bash_completion.install "#{name}.bash" => name.to_s
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue