Add back the exec_path checks that were removed inadvertedly.

This commit is contained in:
Johannes Sixt
2006-12-29 08:49:31 +01:00
parent 4720571a2d
commit 5a9f377e1d

View File

@@ -44,6 +44,8 @@ int execv_git_cmd(const char **argv)
const char *exec_dir = paths[i];
const char *tmp;
if (!exec_dir || !*exec_dir) continue;
#ifdef __MINGW32__
if (*exec_dir != '/' && exec_dir[1] != ':') {
#else