[lfs-support] LFS-7.3

Simon Geard delgarde at ihug.co.nz
Wed Mar 6 02:19:38 PST 2013


On Wed, 2013-03-06 at 00:53 +0100, Frans de Boer wrote:
> Hi, I had the same issue, albeit with other scripts. The solution was to 
> put 'set +h' into the scripts. It seems it's not always enough to have 
> it set when entering the chroot environment.
> 
> If you type things by hand, there is enough time between the last line 
> and the invocation of the next line to have the chroot +h setting 
> effect. Not so, when running a script with all lines.
> 
> So, in effect, it's a bash issue ;)

It's not a bash issue, nor anything to do with the time elapsed between
commands. It's that if you're running a script, the commands are no
longer running in the interactive shell where you set the "+h" option.
And that's why it works when you add the "+h" to the script too.

Simon.




More information about the lfs-support mailing list