aboutsummaryrefslogtreecommitdiffstats
path: root/chapter6/ncurses.sh
diff options
context:
space:
mode:
Diffstat (limited to 'chapter6/ncurses.sh')
-rw-r--r--chapter6/ncurses.sh54
1 files changed, 27 insertions, 27 deletions
diff --git a/chapter6/ncurses.sh b/chapter6/ncurses.sh
index 1bf8824..a63a617 100644
--- a/chapter6/ncurses.sh
+++ b/chapter6/ncurses.sh
@@ -1,27 +1,27 @@
-#!/bin/bash
-set -e
-
-sed -i s/mawk// configure &&
-
-mkdir build
-pushd build > /dev/null || exit 1
- ../configure &&
- make -C include &&
- make -C progs tic &&
-popd > /dev/null || exit 1
-
-./configure --prefix=/usr \
- --host="${LFS_TGT}" \
- --build="$(./config.guess)" \
- --mandir=/usr/share/man \
- --with-manpage-format=normal \
- --with-shared \
- --without-debug \
- --without-ada \
- --without-normal \
- --enable-widec &&
-make &&
-make DESTDIR="${LFS}" TIC_PATH="$(pwd)"/build/progs/tic -j1 install &&
-echo "INPUT(-lncursesw)" > "${LFS}"/usr/lib/libncurses.so &&
-mv -v "${LFS}"/usr/lib/libncursesw.so.6* "${LFS}"/lib &&
-ln -sfv ../../lib/"$(readlink "${LFS}"/usr/lib/libncursesw.so)" "${LFS}"/usr/lib/libncursesw.so
+#!/bin/bash
+set -e
+
+sed -i s/mawk// configure &&
+
+mkdir build
+pushd build > /dev/null || exit 1
+ ../configure &&
+ make -C include &&
+ make -C progs tic &&
+popd > /dev/null || exit 1
+
+./configure --prefix=/usr \
+ --host="${LFS_TGT}" \
+ --build="$(./config.guess)" \
+ --mandir=/usr/share/man \
+ --with-manpage-format=normal \
+ --with-shared \
+ --without-debug \
+ --without-ada \
+ --without-normal \
+ --enable-widec &&
+make &&
+make DESTDIR="${LFS}" TIC_PATH="$(pwd)"/build/progs/tic -j1 install &&
+echo "INPUT(-lncursesw)" > "${LFS}"/usr/lib/libncurses.so &&
+mv -v "${LFS}"/usr/lib/libncursesw.so.6* "${LFS}"/lib &&
+ln -sfv ../../lib/"$(readlink "${LFS}"/usr/lib/libncursesw.so)" "${LFS}"/usr/lib/libncursesw.so