From ad83f72ad8ff3782a03c2bbd97cd746f908c9166 Mon Sep 17 00:00:00 2001 From: Dan Nichilson Date: Tue, 24 Jul 2007 14:48:14 +0000 Subject: Remove extraneous && in chained commands git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8235 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/ncurses.xml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'chapter06/ncurses.xml') diff --git a/chapter06/ncurses.xml b/chapter06/ncurses.xml index 00d5de42c..a2092bdda 100644 --- a/chapter06/ncurses.xml +++ b/chapter06/ncurses.xml @@ -121,16 +121,16 @@ rm -vf /usr/lib/lib${lib}.so ; \ echo "INPUT(-l${lib}w)" >/usr/lib/lib${lib}.so ; \ ln -sfv lib${lib}w.a /usr/lib/lib${lib}.a ; \ -done && +done ln -sfv libncurses++w.a /usr/lib/libncurses++.a Finally, make sure that old applications that look for -lcurses at build time are still buildable: -echo "INPUT(-lncursesw)" >/usr/lib/libcursesw.so && -ln -sfv libncurses.so /usr/lib/libcurses.so && -ln -sfv libncursesw.a /usr/lib/libcursesw.a && +echo "INPUT(-lncursesw)" >/usr/lib/libcursesw.so +ln -sfv libncurses.so /usr/lib/libcurses.so +ln -sfv libncursesw.a /usr/lib/libcursesw.a ln -sfv libncurses.a /usr/lib/libcurses.a @@ -140,10 +140,10 @@ ln -sfv libncurses.a /usr/lib/libcurses.a of some binary-only application, build them with the following commands: -make distclean && +make distclean ./configure --prefix=/usr --with-shared --without-normal \ - --without-debug --without-cxx-binding && -make sources libs && + --without-debug --without-cxx-binding +make sources libs cp -av lib/lib*.so.5* /usr/lib -- cgit v1.2.3-54-g00ecf