repo/bash/build

9 lines
195 B
Text
Executable file

curl -# 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
make
make install DESTDIR="$1"