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. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page