* Clamav, Samba und MC Update.

* Kleine Funktion zur Zeitanzeige 
  der Stages und des gesamten Builds gebastelt.


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@371 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
ms
2006-12-31 18:30:30 +00:00
parent 6f61f8c6ba
commit 7ab7a9b46f
6 changed files with 32 additions and 12 deletions

View File

@@ -106,11 +106,23 @@ beautify()
;;
esac
;;
build_stage)
build_stage_start)
MESSAGE=$2
STAGE_TIME_START=`date +%s`
echo -ne "${BOLD}*** ${MESSAGE}${SET_VER_COL} version${SET_OPT_COL} options"
echo -ne "${SET_TIME_COL} time (sec)${SET_RESULT_COL} status${NORMAL}\n"
;;
build_stage_end)
STAGE_TIME_END=`date +%s`
echo -ne "${BOLD}***This stage took:\t\t $[ $STAGE_TIME_END - $STAGE_TIME_START ] (secs)${NORMAL}\n"
;;
build_start)
BUILD_TIME_START=`date +%s`
;;
build_end)
BUILD_TIME_END=`date +%s`
echo -ne "${BOLD}***Build is finished now!\nThis took:\t\t\t $[ $BUILD_TIME_END - $BUILD_TIME_START ] (secs)${NORMAL}\n"
;;
make_pkg)
echo "$2" | while read PKG_VER PROGRAM OPTIONS
do