Bash bug

Robert Connolly robert at
Tue Nov 20 21:19:41 PST 2007

I reproduced it (sorry for taking so long):
mkdir proto &&
cd proto &&
wget -B \
      -i ../proto-7.1.wget
# build loop
bash -e #exit on all errors
for package in $(cat ../proto-7.1.wget)
make[1]: Leaving directory 
ashes at ThirdFloor:/usr/src/bash_test/proto$ cd ..
ashes at ThirdFloor:/usr/src/bash_test$ enf
bash: enf: command not found
ashes at ThirdFloor:/usr/src/bash_test/proto$

and I see it's not a bug. The bug is in the script, not the shell. We are 
in 'proto/' before 'bash -e' was run. When 'enf' causes the 'bash -e' shell 
to exit we go back to the 'proto/' directory. BLFS adds an 'exit' command to 
this script.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <>

More information about the hlfs-dev mailing list