From 7cadff0a33d062b526d2ac246bd1d9e6cc689f53 Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Fri, 29 Sep 2017 22:10:44 +0200 Subject: Use `PATH` where possible. --- Library/Homebrew/utils.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/Homebrew/utils.rb') diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb index 3033eb4dd..d293b2a6f 100644 --- a/Library/Homebrew/utils.rb +++ b/Library/Homebrew/utils.rb @@ -264,7 +264,7 @@ end def with_system_path old_path = ENV["PATH"] - ENV["PATH"] = "/usr/bin:/bin" + ENV["PATH"] = PATH.new("/usr/bin", "/bin") yield ensure ENV["PATH"] = old_path -- cgit v1.2.3