aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2023-02-01 11:09:05 +0000
committerRon Yorston <rmy@pobox.com>2023-02-01 11:09:05 +0000
commit6e9d680e5bd72f30eb6c8a6972b9653086e4ac90 (patch)
tree750742e4ccd5fdace24bf29a12239de1f3b98570 /shell
parent2d848eba575c32f797cea465b1ccba27467fad45 (diff)
downloadbusybox-w32-6e9d680e5bd72f30eb6c8a6972b9653086e4ac90.tar.gz
busybox-w32-6e9d680e5bd72f30eb6c8a6972b9653086e4ac90.tar.bz2
busybox-w32-6e9d680e5bd72f30eb6c8a6972b9653086e4ac90.zip
make: strip leading whitespace in shell assignment
Assignment of shell output to a macro ('!=') was originally a non-POSIX extension. It later became a POSIX 202X feature. However, the implementation failed to include the additional POSIX requirement that leading whitespace is removed from the shell output. Neither GNU make nor bmake strip leading whitespace. Implement this behaviour as a non-POSIX extension.
Diffstat (limited to 'shell')
0 files changed, 0 insertions, 0 deletions