r2926 - jhalfs/trunk/BLFS

manuel at linuxfromscratch.org manuel at linuxfromscratch.org
Sat Aug 12 06:19:29 PDT 2006


Author: manuel
Date: 2006-08-12 07:19:29 -0600 (Sat, 12 Aug 2006)
New Revision: 2926

Modified:
   jhalfs/trunk/BLFS/gen-makefile.sh
Log:
Removed time command.
Not useful due that it will meassure also download, unpack, and sources removal time.

Modified: jhalfs/trunk/BLFS/gen-makefile.sh
===================================================================
--- jhalfs/trunk/BLFS/gen-makefile.sh	2006-08-12 12:34:01 UTC (rev 2925)
+++ jhalfs/trunk/BLFS/gen-makefile.sh	2006-08-12 13:19:29 UTC (rev 2926)
@@ -38,11 +38,9 @@
 #----------------------------------#
 __write_build_cmd() {              #
 #----------------------------------#
-  local this_script=$1
-  local file=$2
 (
 cat << EOF
-	@( time { source ../makefile.conf && ${BUILD_SCRIPTS}/${file} >>logs/${this_script} 2>&1 ; } ) 2>>logs/${this_script}
+	@source ../makefile.conf && ${BUILD_SCRIPTS}/\$@ >logs/\$@ 2>&1
 EOF
 ) >> $MKFILE.tmp
 }
@@ -77,7 +75,7 @@
   # Drop in the name of the target on a new line, and the previous target
   # as a dependency. Also call the echo_message function.
   __wrt_target "${script_name}" "$PREV_PACKAGE"
-  __write_build_cmd "${script_name}" "${script_name}"
+  __write_build_cmd
 
   # Include a touch of the target name so make can check
   # if it's already been made.




More information about the alfs-log mailing list