[PATCH] Re: ash fails to read $HOME/.profile

Ralf Friedl Ralf.Friedl at online.de
Tue Jun 27 15:58:57 UTC 2017


Denys Vlasenko schrieb:
> On Mon, Jun 26, 2017 at 10:11 PM, Tito <farmatito at tiscali.it> wrote:
>> Hi,
>> the attached patch should fix the "ash fails to read $HOME/.profile" bug
>> when ENABLE_ASH_EXPAND_PRMT is not set.
>> Kp could you please test if it fixes your problem when
>> ENABLE_ASH_EXPAND_PRMT is not set?
> I think expandstr() should be made independent of ASH_EXPAND_PRMT.
There should already be a function in the shell code to expand 
environment variables, unless this option doesn't just disable variable 
expansion in a prompt, but anywhere in a shell schript. On the other 
hand, a shell without variable expansion would be barely useful.


More information about the busybox mailing list