ook. I don't understand why I need this twice. Well, But now it works.

svn path=/trunk/tools/RosBE/; revision=991
This commit is contained in:
Daniel Reimer 2009-05-11 21:15:02 +00:00
parent 84b2d074e4
commit edb82034c9

View File

@ -90,11 +90,11 @@ if ($_ROSBE_SHOWTIME -eq 1) {
if ($_ROSBE_WRITELOG -eq 1) { if ($_ROSBE_WRITELOG -eq 1) {
$sw.Start() $sw.Start()
$file = "$_ROSBE_LOGDIR\BuildLog-$_ROSBE_TARGET_GCCVERSION-$DATENAME-$TIMENAME.txt" $file = "$_ROSBE_LOGDIR\BuildLog-$_ROSBE_TARGET_GCCVERSION-$DATENAME-$TIMENAME.txt"
&{IEX "&'$_ROSBE_MINGWMAKE' -j $MAKE_JOBS $($args)"} 2>&1 | tee-object $file &{IEX "&'$_ROSBE_MINGWMAKE' -j $MAKE_JOBS $($args)"} $($args) 2>&1 | tee-object $file
$sw.Stop() $sw.Stop()
} else { } else {
$sw.Start() $sw.Start()
&{IEX "&'$_ROSBE_MINGWMAKE' -j $MAKE_JOBS $($args)"} &{IEX "&'$_ROSBE_MINGWMAKE' -j $MAKE_JOBS $($args)"} $($args)
$sw.Stop() $sw.Stop()
} }
write-host "Total Build Time:" $sw.Elapsed.ToString() write-host "Total Build Time:" $sw.Elapsed.ToString()