[ros-diffs] [dreimer] 41827: Apply Colin's changes to the PS Scripts, too where needed.
dreimer at svn.reactos.org
dreimer at svn.reactos.org
Thu Jul 9 15:21:57 CEST 2009
Author: dreimer
Date: Thu Jul 9 17:21:56 2009
New Revision: 41827
URL: http://svn.reactos.org/svn/reactos?rev=41827&view=rev
Log:
Apply Colin's changes to the PS Scripts, too where needed.
Modified:
trunk/tools/RosBE/RosBE-Windows/Powershell/chdefdir.ps1
trunk/tools/RosBE/RosBE-Windows/Powershell/chdefgcc.ps1
Modified: trunk/tools/RosBE/RosBE-Windows/Powershell/chdefdir.ps1
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Powershell/chdefdir.ps1?rev=41827&r1=41826&r2=41827&view=diff
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Powershell/chdefdir.ps1 [iso-8859-1] (original)
+++ trunk/tools/RosBE/RosBE-Windows/Powershell/chdefdir.ps1 [iso-8859-1] Thu Jul 9 17:21:56 2009
@@ -30,3 +30,4 @@
$global:_ROSBE_ROSSOURCEDIR = "$pwd"
$host.ui.RawUI.WindowTitle = "ReactOS Build Environment $_ROSBE_VERSION"
+set-location "$_ROSBE_ROSSOURCEDIR"
Modified: trunk/tools/RosBE/RosBE-Windows/Powershell/chdefgcc.ps1
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Powershell/chdefgcc.ps1?rev=41827&r1=41826&r2=41827&view=diff
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Powershell/chdefgcc.ps1 [iso-8859-1] (original)
+++ trunk/tools/RosBE/RosBE-Windows/Powershell/chdefgcc.ps1 [iso-8859-1] Thu Jul 9 17:21:56 2009
@@ -40,7 +40,6 @@
# Verify the entered values
$local:ErrorActionPreference = "SilentlyContinue"
if (Test-Path "$_ROSBE_BASEDIR\$TOOLPATH\.") {
- $ENV:ROS_ARCH = "$TOOLPATH"
$TOOLPATH = "$_ROSBE_BASEDIR\$TOOLPATH"
} elseif (!(Test-Path "$TOOLPATH\.")) {
"ERROR: The path specified doesn't seem to exist."
@@ -54,9 +53,6 @@
# Set the values
if ($TOOLMODE -eq "target") {
- if ($ENV:ROS_ARCH -eq $null) {
- $ENV:ROS_ARCH = Read-Host "Please specify the arch: "
- }
$_ROSBE_TARGET_MINGWPATH = $TOOLPATH
"Target Location: $_ROSBE_TARGET_MINGWPATH"
EOA
More information about the Ros-diffs
mailing list