Author: dreimer Date: Thu May 1 12:05:43 2008 New Revision: 33219
URL: http://svn.reactos.org/svn/reactos?rev=33219&view=rev Log: Some small fixes
Modified: trunk/tools/RosBE/RosBE-Windows/Powershell/Build.ps1
Modified: trunk/tools/RosBE/RosBE-Windows/Powershell/Build.ps1 URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Powershel... ============================================================================== --- trunk/tools/RosBE/RosBE-Windows/Powershell/Build.ps1 [iso-8859-1] (original) +++ trunk/tools/RosBE/RosBE-Windows/Powershell/Build.ps1 [iso-8859-1] Thu May 1 12:05:43 2008 @@ -73,6 +73,7 @@ # # Get the current date and time for use in in our build log's file name. # +$TIMERAW = get-date -f t $DATENAME = get-date -f dyMMyyyy $TIMENAME = get-date -f HHmm
@@ -146,22 +147,14 @@ # if ($args.count -gt 1) { if ($args[0] -eq "multi") { - if ($args[1] -ne "") { - $host.ui.RawUI.WindowTitle = "makex $args parallel build started: $TIMERAW" - } else { - $host.ui.RawUI.WindowTitle = "makex parallel build started: $TIMERAW" - } + $host.ui.RawUI.WindowTitle = "makex $($args) parallel build started: $TIMERAW" +} BUILDMULTI -} } else { if ($args.count -gt 0) { - if ($args[0] -ne "") { - $host.ui.RawUI.WindowTitle = "make $args build started: $TIMERAW" - } else { - $host.ui.RawUI.WindowTitle = "make build started: $TIMERAW" - } + $host.ui.RawUI.WindowTitle = "make $($args) build started: $TIMERAW" +} BUILD -} }
#