repo/bash/build
2021-08-05 19:47:42 +02:00

11 lines
243 B
Text
Executable file

wget https://ftp.gnu.org/gnu/bash/bash-5.1.8.tar.gz
tar -xf bash-5.1.8.tar.gz
cd bash-5.1.8
sed -e 's/$(prefix)/$(DESTDIR)$(prefix)/g' -i Makefile
./configure --prefix \
--bindir=/bin \
--without-bash-malloc
make
make install DESTDIR="$1"