From dc67791964ba9abf1a5ab5c810f81f67f8a6d868 Mon Sep 17 00:00:00 2001 From: Manuel Canales Esparcia Date: Sat, 12 Aug 2006 13:19:29 +0000 Subject: [PATCH] Removed time command. Not useful due that it will meassure also download, unpack, and sources removal time. --- BLFS/gen-makefile.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/BLFS/gen-makefile.sh b/BLFS/gen-makefile.sh index a0c6a5a..75589e4 100755 --- a/BLFS/gen-makefile.sh +++ b/BLFS/gen-makefile.sh @@ -38,11 +38,9 @@ EOF #----------------------------------# __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 @@ __write_entry() { # # 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.