diff options
author | Russell Belfer <rb@github.com> | 2012-05-24 15:08:55 -0700 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2012-05-24 15:08:55 -0700 |
commit | 9cde607c95ecb3b5e49ff939fa8de44641fec589 (patch) | |
tree | 6c8f9b2921cd7660a17dcf34cecbb63bf9038fc2 /src | |
parent | 349fb6d7acd2d57fb5c0039e7f1228cff1702b13 (diff) | |
download | libgit2-env-expansion.tar.gz |
Clean up system file finding tests on Win32env-expansion
Diffstat (limited to 'src')
-rw-r--r-- | src/fileops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileops.c b/src/fileops.c index 0e7d43bab..cd4b3c42a 100644 --- a/src/fileops.c +++ b/src/fileops.c @@ -415,7 +415,7 @@ int git_futils_find_system_file(git_buf *path, const char *filename) { #ifdef GIT_WIN32 struct win32_path root; - + if (win32_expand_path(&root, L"%PROGRAMFILES%\\Git\\etc\\") < 0 || win32_find_file(path, &root, filename) < 0) { giterr_set(GITERR_OS, "Cannot find the system's Program Files directory"); |