aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/git-sync-deps
diff options
context:
space:
mode:
Diffstat (limited to 'tools/git-sync-deps')
-rwxr-xr-xtools/git-sync-deps6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/git-sync-deps b/tools/git-sync-deps
index 78449d9682..7599eacbcb 100755
--- a/tools/git-sync-deps
+++ b/tools/git-sync-deps
@@ -11,8 +11,8 @@ Args:
An optional list of deps_os values.
Environment Variables:
- GIT_EXECUTABLE: path to "git" binary; if unset, will look for one of
- ['git', 'git.exe', 'git.bat'] in your default path.
+ GIT_EXECUTABLE: path to "git" binary; if unset, will look for git in
+ your default path.
GIT_SYNC_DEPS_PATH: file to get the dependency list from; if unset,
will use the file ../DEPS relative to this script's directory.
@@ -43,7 +43,7 @@ def git_executable():
A string suitable for passing to subprocess functions, or None.
"""
envgit = os.environ.get('GIT_EXECUTABLE')
- searchlist = ['git', 'git.exe', 'git.bat']
+ searchlist = ['git']
if envgit:
searchlist.insert(0, envgit)
with open(os.devnull, 'w') as devnull: