Commit 49329301 authored by rtoy's avatar rtoy
Browse files

Replace $TIMER with time, everywhere.

Requested by Stelian Ionescu to support Gentoo.  Some Gentoo systems
don't have /usr/bin/time.  (What kind of Unix system doesn't have
/usr/bin/time?)
parent 45885699
......@@ -39,7 +39,6 @@ ENABLE4="yes"
version=19e
SRCDIR=src
TOOLDIR=$SRCDIR/tools
TIMER="time"
VERSION="CVS Head `date '+%Y-%m-%d %H:%M:%S'`"
BASE=build
OLDLISP="cmulisp -noinit"
......@@ -115,7 +114,7 @@ buildit ()
if [ "$ENABLE" = "yes" ];
then
$TOOLDIR/clean-target.sh $CLEAN_FLAGS $TARGET || { echo "Failed: $TOOLDIR/clean-target.sh"; exit 1; }
$TIMER $TOOLDIR/build-world.sh $TARGET $OLDLISP $BOOT || { echo "Failed: $TOOLDIR/build-world.sh"; exit 1; }
time $TOOLDIR/build-world.sh $TARGET $OLDLISP $BOOT || { echo "Failed: $TOOLDIR/build-world.sh"; exit 1; }
$MAKE -C $TARGET/lisp || { echo "Failed: $MAKE -C $TARGET/lisp"; exit 1; }
if [ "$BUILD_WORLD2" = "yes" ];
then
......@@ -186,7 +185,7 @@ buildit
if [ "$SKIPUTILS" = "no" ];
then
OLDLISP="${BASE}-4/lisp/lisp -noinit $FPU_MODE"
$TIMER $TOOLDIR/build-utils.sh $TARGET $FPU_MODE
time $TOOLDIR/build-utils.sh $TARGET $FPU_MODE
fi
build_finished=`date`
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment