commit | e880b1fea8442b623d45a8f62227fc35cbcac7ec | [log] [tgz] |
---|---|---|
author | Denys Vlasenko <vda.linux@googlemail.com> | Sun Feb 16 18:31:05 2020 +0100 |
committer | Denys Vlasenko <vda.linux@googlemail.com> | Sun Feb 16 19:16:35 2020 +0100 |
tree | d7f36baedaa725a37077edc4a5746ffb82484b7f | |
parent | a7b97e367c44d8a6890397848dcf59f4e190d4f9 [diff] |
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>