aboutsummaryrefslogtreecommitdiffstats
path: root/Library/ENV/scm/git
diff options
context:
space:
mode:
Diffstat (limited to 'Library/ENV/scm/git')
-rwxr-xr-xLibrary/ENV/scm/git2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/ENV/scm/git b/Library/ENV/scm/git
index 06a04b7f1..0c768403c 100755
--- a/Library/ENV/scm/git
+++ b/Library/ENV/scm/git
@@ -17,7 +17,7 @@ when "git" then %W[HOMEBREW_GIT GIT]
when "svn" then %W[HOMEBREW_SVN]
else []
end.each do |key|
- exec ENV[key], *ARGV if ENV[key] and File.executable? ENV[key]
+ exec ENV[key], *ARGV if ENV[key] && File.executable?(ENV[key])
end
brew_version = File.expand_path("#{D}/../../../bin/#{F}")