# Set the package we're building. package="bash-5.2.32" extension=".tar.gz" # Decompress the source. echo "Unpacking ${package}${extension} ..." tar xvf ${package}${extension} # Enter the unpacked sources. echo "Entering ${package} directory ..." cd ${package} # LFS commands. ./configure --prefix=/usr \ --without-bash-malloc \ --with-installed-readline \ bash_cv_strtold_broken=no \ --docdir=/usr/share/doc/bash-5.2.32 make chown -R tester . su -s /usr/bin/expect tester << "EOF" set timeout -1 spawn make tests expect eof lassign [wait] _ _ _ value exit $value EOF make install exec /usr/bin/bash --login