Author: dreimer
Date: Fri May 2 14:55:47 2008
New Revision: 33247
URL:
http://svn.reactos.org/svn/reactos?rev=33247&view=rev
Log:
Try to fix the bug with not parsed args.
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/Powershe…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Powershell/Build.ps1 [iso-8859-1] (original)
+++ trunk/tools/RosBE/RosBE-Windows/Powershell/Build.ps1 [iso-8859-1] Fri May 2 14:55:47
2008
@@ -95,12 +95,12 @@
$null = (New-Item -path "$_ROSBE_LOGDIR" -name
"BuildLog-$_ROSBE_GCCVERSION-$DATENAME-$TIMENAME.txt" -type file)
}
$sw.Start()
- & "$_ROSBE_MINGWMAKE" $($args) 2>&1 | tee-object
-filepath "$_ROSBE_LOGDIR\BuildLog-$_ROSBE_GCCVERSION-$DATENAME-$TIMENAME.txt"
+ IEX "&'$_ROSBE_MINGWMAKE' $($args)" 2>&1 |
tee-object -filepath
"$_ROSBE_LOGDIR\BuildLog-$_ROSBE_GCCVERSION-$DATENAME-$TIMENAME.txt"
$sw.Stop()
write-host "Total Build Time:" $sw.Elapsed.ToString()
} else {
$sw.Start()
- & "$_ROSBE_MINGWMAKE" $($args)
+ IEX "&'$_ROSBE_MINGWMAKE' $($args)"
$sw.Stop()
write-host "Total Build Time:" $sw.Elapsed.ToString()
}
@@ -109,9 +109,9 @@
if (!(Test-Path
"$_ROSBE_LOGDIR\BuildLog-$_ROSBE_GCCVERSION-$DATENAME-$TIMENAME.txt")) {
$null = (New-Item -path "$_ROSBE_LOGDIR" -name
"BuildLog-$_ROSBE_GCCVERSION-$DATENAME-$TIMENAME.txt" -type file)
}
- & "$_ROSBE_MINGWMAKE" $($args) 2>&1 | tee-object
-filepath "$_ROSBE_LOGDIR\BuildLog-$_ROSBE_GCCVERSION-$DATENAME-$TIMENAME.txt"
+ IEX "&'$_ROSBE_MINGWMAKE' $($args)" 2>&1 |
tee-object -filepath
"$_ROSBE_LOGDIR\BuildLog-$_ROSBE_GCCVERSION-$DATENAME-$TIMENAME.txt"
} else {
- & "$_ROSBE_MINGWMAKE" $($args)
+ IEX "&'$_ROSBE_MINGWMAKE' $($args)"
}
}
}
@@ -135,12 +135,12 @@
$null = (New-Item -path "$_ROSBE_LOGDIR" -name
"BuildLog-$_ROSBE_GCCVERSION-$DATENAME-$TIMENAME.txt" -type file)
}
$sw.Start()
- & "$_ROSBE_MINGWMAKE" -j $CPUCOUNT $($args) 2>&1 |
tee-object -filepath
"$_ROSBE_LOGDIR\BuildLog-$_ROSBE_GCCVERSION-$DATENAME-$TIMENAME.txt"
+ IEX "&'$_ROSBE_MINGWMAKE' -j $CPUCOUNT $($args)"
2>&1 | tee-object -filepath
"$_ROSBE_LOGDIR\BuildLog-$_ROSBE_GCCVERSION-$DATENAME-$TIMENAME.txt"
$sw.Stop()
write-host "Total Build Time:" $sw.Elapsed.ToString()
} else {
$sw.Start()
- & "$_ROSBE_MINGWMAKE" -j $CPUCOUNT $($args)
+ IEX "&'$_ROSBE_MINGWMAKE' -j $CPUCOUNT $($args)"
$sw.Stop()
write-host "Total Build Time:" $sw.Elapsed.ToString()
}
@@ -149,9 +149,9 @@
if (!(Test-Path
"$_ROSBE_LOGDIR\BuildLog-$_ROSBE_GCCVERSION-$DATENAME-$TIMENAME.txt")) {
$null = (New-Item -path "$_ROSBE_LOGDIR" -name
"BuildLog-$_ROSBE_GCCVERSION-$DATENAME-$TIMENAME.txt" -type file)
}
- & "$_ROSBE_MINGWMAKE" -j $CPUCOUNT $($args) 2>&1 |
tee-object -filepath
"$_ROSBE_LOGDIR\BuildLog-$_ROSBE_GCCVERSION-$DATENAME-$TIMENAME.txt"
+ IEX "&'$_ROSBE_MINGWMAKE' -j $CPUCOUNT $($args)"
2>&1 | tee-object -filepath
"$_ROSBE_LOGDIR\BuildLog-$_ROSBE_GCCVERSION-$DATENAME-$TIMENAME.txt"
} else {
- & "$_ROSBE_MINGWMAKE" -j $CPUCOUNT $($args)
+ IEX "&'$_ROSBE_MINGWMAKE' -j $CPUCOUNT $($args)"
}
}
}