From 90262b5faeceac9e3c63933e6350f01a52279189 Mon Sep 17 00:00:00 2001 From: Johannes Sixt Date: Fri, 29 Dec 2006 08:57:42 +0100 Subject: [PATCH] Use the Windows style PATH separator. --- git.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/git.c b/git.c index f893f373e..8b31a0fca 100644 --- a/git.c +++ b/git.c @@ -20,7 +20,11 @@ static void prepend_to_path(const char *dir, int len) path = xmalloc(path_len + 1); memcpy(path, dir, len); +#ifdef __MINGW32__ + path[len] = ';'; +#else path[len] = ':'; +#endif memcpy(path + len + 1, old_path, path_len - len); setenv("PATH", path, 1); -- 2.11.4.GIT