Skip to content
Snippets Groups Projects
Commit a47ea61f authored by Xu Cheng's avatar Xu Cheng
Browse files

update-test: fix git fork bomb

parent 360cd3cb
No related branches found
No related tags found
No related merge requests found
require "extend/ENV"
module Homebrew
#
# Usage:
......@@ -41,8 +39,7 @@ module Homebrew
safe_system "git", "reset", "--hard", start_sha1
# update ENV["PATH"]
ENV.extend(Stdenv)
ENV.prepend_path "PATH", "#{curdir}/bin"
ENV["PATH"] = "#{curdir}/bin:/usr/local/bin:/usr/bin:/bin"
# run brew update
oh1 "Running brew update..."
......
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