aboutsummaryrefslogtreecommitdiffstats
path: root/chapter8/bash.sh
blob: ee7124fe9b79f611f8f72266bae03d0d60081222 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<<<<<<< HEAD
#!/bin/bash
# shellcheck disable=SC2016

patch -Np1 -i ../bash-"${VERSION}"-fixes-1.patch &&

sed -i  '/^bashline.o:.*shmbchar.h/a bashline.o: ${DEFDIR}/builtext.h' Makefile.in &&

./configure --prefix=/usr \
            --docdir=/usr/share/doc/bash-"${VERSION}" \
            --without-bash-malloc \
            --with-installed-readline &&

make &&

make -j1 install &&
mv -vf /usr/bin/bash /bin

#exec /bin/bash --login +h
=======
#!/bin/bash
# shellcheck disable=SC2016

patch -Np1 -i ../bash-"${VERSION}"-fixes-2.patch &&

sed -i  '/^bashline.o:.*shmbchar.h/a bashline.o: ${DEFDIR}/builtext.h' Makefile.in &&

./configure --prefix=/usr \
            --docdir=/usr/share/doc/bash-"${VERSION}" \
            --without-bash-malloc \
            --with-installed-readline &&

make &&

make -j1 install &&
mv -vf /usr/bin/bash /bin

#exec /bin/bash --login +h
>>>>>>> 6132c19762b7d74ba7ad06e291b6401c632bbc28