Author: dreimer
Date: Thu Oct 22 09:00:46 2009
New Revision: 43680
URL:
http://svn.reactos.org/svn/reactos?rev=43680&view=rev
Log:
Fixed a bug with makex only accepting one parameter in PS. Now is passes ALL of them.
Fix elevated updater. Works now.
Modified:
trunk/tools/RosBE/RosBE-Windows/Powershell/RosBE.ps1
Modified: trunk/tools/RosBE/RosBE-Windows/Powershell/RosBE.ps1
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Powershe…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Powershell/RosBE.ps1 [iso-8859-1] (original)
+++ trunk/tools/RosBE/RosBE-Windows/Powershell/RosBE.ps1 [iso-8859-1] Thu Oct 22 09:00:46
2009
@@ -104,7 +104,7 @@
set-alias HELP "$_ROSBE_BASEDIR\Help.ps1" -scope Global
set-alias MAKE "$_ROSBE_BASEDIR\Build.ps1" -scope Global
- function global:MAKEX($xargs) {IEX "&'$_ROSBE_BASEDIR\Build.ps1'
multi $($xargs)"}
+ function global:MAKEX {IEX "&'$_ROSBE_BASEDIR\Build.ps1' multi
$args}"}
if (Test-Path "$_ROSBE_BASEDIR\reladdr2line.ps1") {
set-alias RADDR2LINE "$_ROSBE_BASEDIR\reladdr2line.ps1" -scope Global
@@ -118,7 +118,7 @@
set-alias SSVN "$_ROSBE_BASEDIR\sSVN.ps1" -scope Global
set-alias SVN "$_ROSBE_BASEDIR\Tools\svn.exe" -scope Global
}
- function global:UPDATE($xargs) {IEX
"&'$_ROSBE_BASEDIR\Tools\Elevate.exe' '$pshome\powershell.exe'
-noexit {&'$_ROSBE_BASEDIR\update.ps1' '$_ROSBE_VERSION'
'$_ROSBE_BASEDIR' $($xargs)}"}
+ function global:UPDATE {IEX "&'$_ROSBE_BASEDIR\Tools\Elevate.exe'
'$pshome\powershell.exe' -noexit {&'$_ROSBE_BASEDIR\update.ps1'
$_ROSBE_VERSION '$_ROSBE_BASEDIR' $args}"}
set-alias VERSION "$_ROSBE_BASEDIR\version.ps1" -scope Global