[lfs-dev] jhalfs not work with bash-5.0

Pierre Labastie pierre.labastie at neuf.fr
Sat Jan 12 09:31:32 PST 2019

On 12/01/2019 17:47, Bruce Dubbs via lfs-dev wrote:
> On 01/12/2019 08:24 AM, xinglp via lfs-dev wrote:
>> When I run './jhalfs run', it just show below messages and quit.
>> INTERRUPT trapped
>> <jhalfs> exit
> The command is 'jhalfs' without options when creating the script

Normally not:
pierre at turboli:~/downloads/jhalfs$ ./jhalfs

	This script cannot be called directly: EXITING

<jhalfs> exit

jhalfs is run through make (and actually, the "secret" command is "./jhalfs run")

I have to investigate. As a workaround, comment out the line:
trap 'echo -e "\n\n${RED}INTERRUPT${OFF} trapped\n" &&  exit 2'  1 2 3

More information about the lfs-dev mailing list