Author: pierre
Date: Sun Mar 29 06:46:19 2020
New Revision: 4141

Log:
No need to prin DU from Makefile in LFS

We now print the disk usage from the scriptlet, so printing
again from the Makefile results in a duplicated line. Remove
the printing if book=lfs

Modified:
   jhalfs/trunk/common/libs/func_wrt_Makefile

Modified: jhalfs/trunk/common/libs/func_wrt_Makefile
==============================================================================
--- jhalfs/trunk/common/libs/func_wrt_Makefile  Sun Mar 29 06:42:43 2020        
(r4140)
+++ jhalfs/trunk/common/libs/func_wrt_Makefile  Sun Mar 29 06:46:19 2020        
(r4141)
@@ -322,7 +322,9 @@
 cat << EOF
        @export ${MOUNT_ENV}=\$(MOUNT_PT) && \\
        ${PROGNAME}-commands/`dirname $file`/\$@ >>logs/\$@$version 2>&1 && \\
-       \$(PRT_DU) >>logs/\$@$version
+       if [ "${PROGNAME}" != lfs ]; then \\
+           \$(PRT_DU) >>logs/\$@$version; \\
+       fi
 EOF
 ) >> $MKFILE.tmp
 }
-- 
http://lists.linuxfromscratch.org/listinfo/alfs-log
Unsubscribe: See the above information page

Reply via email to