aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2023-10-06 11:30:21 +0100
committerRon Yorston <rmy@pobox.com>2023-10-06 11:30:21 +0100
commit9a4fe0bc63f2e98bac0e647e12620929d8658e50 (patch)
tree167153bad0c6f964d306f4e1440f05bafbb1dc18 /shell
parent199687610d3bf1b29b7342da40d9306dd46accdc (diff)
downloadbusybox-w32-9a4fe0bc63f2e98bac0e647e12620929d8658e50.tar.gz
busybox-w32-9a4fe0bc63f2e98bac0e647e12620929d8658e50.tar.bz2
busybox-w32-9a4fe0bc63f2e98bac0e647e12620929d8658e50.zip
make: permit Unix-style paths when setting MAKE
The 'make' applet follows POSIX requirements when setting the MAKE variable. However, it doesn't allow for the case where argv[0] is of a form like '/bin/make' but no corresponding executable exists. This can happen in busybox-w32 when '/bin/make' is interpreted as a reference to the 'make' applet. In this case set the MAKE variable to argv[0] and avoid issuing a warning. Setting MAKE to something that isn't a real executable is fine so long as it's only used by busybox-w32 applets. If it's used by external applications they may get confused. Adds 16-32 bytes. (GitHub issue #354)
Diffstat (limited to 'shell')
0 files changed, 0 insertions, 0 deletions