diff options
Diffstat (limited to 'miscutils')
| -rw-r--r-- | miscutils/make.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/miscutils/make.c b/miscutils/make.c index 8feec1202..b6103bb58 100644 --- a/miscutils/make.c +++ b/miscutils/make.c | |||
| @@ -2820,7 +2820,10 @@ int make_main(int argc UNUSED_PARAM, char **argv) | |||
| 2820 | path = newpath = xmalloc_realpath(p); | 2820 | path = newpath = xmalloc_realpath(p); |
| 2821 | free(p); | 2821 | free(p); |
| 2822 | if (!path) { | 2822 | if (!path) { |
| 2823 | bb_perror_msg("can't resolve path for %s", argv[0]); | 2823 | if (unix_path(argv[0])) |
| 2824 | path = argv[0]; | ||
| 2825 | else | ||
| 2826 | bb_perror_msg("can't resolve path for %s", argv[0]); | ||
| 2824 | } | 2827 | } |
| 2825 | } | 2828 | } |
| 2826 | #else | 2829 | #else |
