[ros-diffs] [dreimer] 33219: Some small fixes

dreimer at svn.reactos.org dreimer at svn.reactos.org
Thu May 1 19:05:44 CEST 2008


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/Powershell/Build.ps1?rev=33219&r1=33218&r2=33219&view=diff
==============================================================================
--- 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
-}
 }
 
 #



More information about the Ros-diffs mailing list