aboutsummaryrefslogtreecommitdiff
path: root/libbb/executable.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/executable.c')
-rw-r--r--libbb/executable.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libbb/executable.c b/libbb/executable.c
index 87a40eeda..0a0769ef3 100644
--- a/libbb/executable.c
+++ b/libbb/executable.c
@@ -49,6 +49,9 @@ char* FAST_FUNC find_executable(const char *filename, char **PATHp)
49 49
50 n = strchr(p, PATH_SEP); 50 n = strchr(p, PATH_SEP);
51 if (n) *n = '\0'; 51 if (n) *n = '\0';
52#if ENABLE_PLATFORM_MINGW32
53 p = auto_add_system_drive(p);
54#endif
52 p = concat_path_file( 55 p = concat_path_file(
53 p[0] ? p : ".", /* handle "::" case */ 56 p[0] ? p : ".", /* handle "::" case */
54 filename 57 filename