Installation of Bash
Bash contains several known bugs. Fix these with the following
patch:
patch -Np1 -i ../bash-&bash-patch-version;.patch
Now prepare Bash for compilation:
./configure --prefix=/stage1 --with-curses
Compile the program:
make
Check that it works correctly:
make tests
Then install it and its documentation:
make install
And make a link for the programs that use sh
for a shell:
ln -s bash /stage1/bin/sh