diff options
author | Ron Yorston <rmy@pobox.com> | 2023-06-21 08:48:57 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2023-06-21 08:48:57 +0100 |
commit | 29f13acfb2d3818592d93590aa06de3c4f169b42 (patch) | |
tree | fcf5692d0acf57a30c3dab26ba2a703f67d7a4a2 /arch | |
parent | 830e2cfae63a20beddd81d9db00dc906265a0e34 (diff) | |
download | busybox-w32-29f13acfb2d3818592d93590aa06de3c4f169b42.tar.gz busybox-w32-29f13acfb2d3818592d93590aa06de3c4f169b42.tar.bz2 busybox-w32-29f13acfb2d3818592d93590aa06de3c4f169b42.zip |
ash: code shrink
- There's no need to set USER, LOGNAME, HOME and SHELL as environment
variables: making them shell variables is enough.
- Use endofname() to detect invalid characters in variable names and
take the copy of the invalid variable before it's modified.
Saves 48-64 bytes.
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions