kiss-mfavila-small/core-mod/core/bash/build

21 lines
323 B
Bash
Executable File

#!/bin/sh -e
export CFLAGS="$CFLAGS -static"
patch -p1 < bash-5.1-parallel_make.patch
for patch in bash51-0??; do
patch -p0 < "$patch"
done
./configure \
--prefix=/usr \
--without-bash-malloc \
--without-installed-readline \
--disable-nls
make
make DESTDIR="$1" install
ln -s bash "$1/usr/bin/sh"