aboutsummaryrefslogtreecommitdiff
path: root/extra/bash/build
blob: b8e87d05f86ce834f6fc319da8d78a8c6a4085b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh -e

./configure \
    --prefix=/usr \
    --without-bash-malloc \
    --disable-nls

export MAKEFLAGS="TERMCAP_LIB=/usr/lib/libncursesw.a $MAKEFLAGS"

make
make DESTDIR="$1" install

ln -s bash "$1/usr/bin/sh"