From 331d2e0334fcc294fbd6ecccdc7fbd0479909eec Mon Sep 17 00:00:00 2001 From: "peterbudai@hotmail.com" Date: Wed, 28 Mar 2018 22:20:12 +0200 Subject: win32: Fix CCACHE_COMPILERCHECK=mtime test case Previously if compiler command was an .sh script, win32 version automatically added an .EXE extension to the command line and then test case failed. With this change .sh files won't get appended by an EXE extension and test case successfully runs --- src/execute.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/execute.c b/src/execute.c index df8fe5b6..ae305520 100644 --- a/src/execute.c +++ b/src/execute.c @@ -115,6 +115,7 @@ win32getshell(char *path) void add_exe_ext_if_no_to_fullpath(char *full_path_win_ext, size_t max_size, const char *ext, const char *path) { if (!ext || (!str_eq(".exe", ext) + && !str_eq(".sh", ext) && !str_eq(".bat", ext) && !str_eq(".EXE", ext) && !str_eq(".BAT", ext))) { -- cgit v1.2.1