diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2020-02-16 18:31:05 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2020-02-16 19:16:35 +0100 |
commit | e880b1fea8442b623d45a8f62227fc35cbcac7ec (patch) | |
tree | d7f36baedaa725a37077edc4a5746ffb82484b7f /testsuite/pwd | |
parent | a7b97e367c44d8a6890397848dcf59f4e190d4f9 (diff) | |
download | busybox-e880b1fea8442b623d45a8f62227fc35cbcac7ec.tar.gz |
ash: expand: Use HOME in tilde expansion when it is empty
Upstream commit:
Date: Sun, 27 May 2018 17:31:57 +0800
expand: Use HOME in tilde expansion when it is empty
Currently if HOME is set to empty tilde expansion will fail, i.e.,
it will remain as a literal tilde. This patch changes it to
return the empty string as required by POSIX.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite/pwd')
0 files changed, 0 insertions, 0 deletions