diff --git a/LFS/master.sh b/LFS/master.sh index 14c5ee9..dbbfa0b 100644 --- a/LFS/master.sh +++ b/LFS/master.sh @@ -29,7 +29,7 @@ chapter4_Makefiles() { # 021-addinguser: 020-creatingtoolsdir @\$(call echo_message, Building) - @if [ ! -d \$(LUSER_HOME) ]; then \\ + @-if [ ! -d \$(LUSER_HOME) ]; then \\ groupadd \$(LGROUP); \\ useradd -s /bin/bash -g \$(LGROUP) -m -k /dev/null \$(LUSER); \\ else \\ @@ -102,7 +102,9 @@ chapter5_Makefiles() { # Grab the name of the target (minus the -pass1 or -pass2 in the case of gcc # and binutils in chapter 5) - name=`echo ${this_script} | sed -e 's@[0-9]\{3\}-@@' -e 's@-pass[0-9]\{1\}@@'` + name=`echo ${this_script} | sed -e 's@[0-9]\{3\}-@@' \ + -e 's@-pass[0-9]\{1\}@@' \ + -e 's@-libstdc++@@'` # Set the dependency for the first target. if [ -z $PREV ] ; then PREV=022-settingenvironment ; fi