Author: dreimer
Date: Mon Jan 26 06:37:25 2009
New Revision: 39110
URL:
http://svn.reactos.org/svn/reactos?rev=39110&view=rev
Log:
Apply this to PS too
Modified:
trunk/tools/RosBE/RosBE-Windows/Powershell/Clean.ps1
Modified: trunk/tools/RosBE/RosBE-Windows/Powershell/Clean.ps1
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Powershe…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Powershell/Clean.ps1 [iso-8859-1] (original)
+++ trunk/tools/RosBE/RosBE-Windows/Powershell/Clean.ps1 [iso-8859-1] Mon Jan 26 06:37:25
2009
@@ -61,6 +61,10 @@
$ENV:ROS_ARCH = "i386"
}
+ if (Test-Path "$_ROSBE_MAKEFILE") {
+ $null = (Remove-Item "$_ROSBE_MAKEFILE" -force)
+ }
+
if (Test-Path "$_ROSBE_OBJCLEANPATH\.") {
"Cleaning ReactOS $ENV:ROS_ARCH source directory..."
if (Test-Path "$_ROSBE_OBJCLEANPATH\.") {
@@ -68,9 +72,6 @@
}
if (Test-Path "$_ROSBE_OUTCLEANPATH\.") {
$null = (Remove-Item "$_ROSBE_OUTCLEANPATH" -recurse -force)
- }
- if (Test-Path "$_ROSBE_MAKEFILE") {
- $null = (Remove-Item "$_ROSBE_MAKEFILE" -force)
}
"Done cleaning ReactOS $ENV:ROS_ARCH source directory."
} else {