Skip to content
Snippets Groups Projects
Commit 9061daad authored by Mike McQuaid's avatar Mike McQuaid
Browse files

test-bot: fix tap directory variable (again).

parent 6f7c73e8
No related branches found
No related tags found
No related merge requests found
......@@ -650,9 +650,10 @@ module Homebrew
end
if ARGV.include? "--ci-reset-and-update"
safe_system "git", "reset", "--hard"
Dir.glob("#{HOMEBREW_LIBRARY}/Taps/*/*") do |tap_dir|
cd tap_dir { safe_system "git", "reset", "--hard" }
cd tap_dir do
safe_system "git", "reset", "--hard"
end
end
safe_system "brew", "update"
return
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment