Use quiet_system to avoid the shell
This commit is contained in:
parent
7e20b353a2
commit
8c0928ccca
@ -112,7 +112,7 @@ module Homebrew
|
|||||||
end
|
end
|
||||||
|
|
||||||
def rm_DS_Store
|
def rm_DS_Store
|
||||||
system "find #{HOMEBREW_PREFIX} -name .DS_Store -delete 2>/dev/null"
|
quiet_system "find", HOMEBREW_PREFIX.to_s, "-name", ".DS_Store", "-delete"
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user