update-test: fix git fork bomb
This commit is contained in:
parent
360cd3cb56
commit
a47ea61f0b
@ -1,5 +1,3 @@
|
|||||||
require "extend/ENV"
|
|
||||||
|
|
||||||
module Homebrew
|
module Homebrew
|
||||||
#
|
#
|
||||||
# Usage:
|
# Usage:
|
||||||
@ -41,8 +39,7 @@ module Homebrew
|
|||||||
safe_system "git", "reset", "--hard", start_sha1
|
safe_system "git", "reset", "--hard", start_sha1
|
||||||
|
|
||||||
# update ENV["PATH"]
|
# update ENV["PATH"]
|
||||||
ENV.extend(Stdenv)
|
ENV["PATH"] = "#{curdir}/bin:/usr/local/bin:/usr/bin:/bin"
|
||||||
ENV.prepend_path "PATH", "#{curdir}/bin"
|
|
||||||
|
|
||||||
# run brew update
|
# run brew update
|
||||||
oh1 "Running brew update..."
|
oh1 "Running brew update..."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user