Author: cwittich
Date: Mon Jan 26 05:35:19 2009
New Revision: 39109
URL:
http://svn.reactos.org/svn/reactos?rev=39109&view=rev
Log:
fix deletion of makefile.auto when there is no obj and output for real now
Modified:
trunk/tools/RosBE/RosBE-Windows/Root/Build.cmd
trunk/tools/RosBE/RosBE-Windows/Root/Clean.cmd
Modified: trunk/tools/RosBE/RosBE-Windows/Root/Build.cmd
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Root/Bui…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Root/Build.cmd [iso-8859-1] (original)
+++ trunk/tools/RosBE/RosBE-Windows/Root/Build.cmd [iso-8859-1] Mon Jan 26 05:35:19 2009
@@ -84,7 +84,7 @@
echo WARNING: The Object-Path specified doesn't seem to exist. Creating...
if exist "makefile*.auto" (
echo WARNING: makefile.auto exists. Deleting...
- "%_ROSBE_BASEDIR%\Clean.cmd"
+ call "%_ROSBE_BASEDIR%\Clean.cmd"
)
)
set ROS_INTERMEDIATE=%_ROSBE_OBJPATH%
@@ -94,7 +94,7 @@
echo WARNING: The Output-Path specified doesn't seem to exist. Creating...
if exist "makefile*.auto" (
echo WARNING: makefile.auto exists. Deleting...
- "%_ROSBE_BASEDIR%\Clean.cmd"
+ call "%_ROSBE_BASEDIR%\Clean.cmd"
)
)
set ROS_OUTPUT=%_ROSBE_OUTPATH%
Modified: trunk/tools/RosBE/RosBE-Windows/Root/Clean.cmd
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Root/Cle…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Root/Clean.cmd [iso-8859-1] (original)
+++ trunk/tools/RosBE/RosBE-Windows/Root/Clean.cmd [iso-8859-1] Mon Jan 26 05:35:19 2009
@@ -84,6 +84,10 @@
set _ROSBE_MAKEFILE=makefile.auto
)
+if exist "%_ROSBE_MAKEFILE%" (
+ del "%_ROSBE_MAKEFILE%" 1> NUL 2> NUL
+)
+
if "%ROS_ARCH%" == "" (
set ROS_ARCH=i386
)
@@ -95,9 +99,6 @@
)
if exist "%_ROSBE_OUTCLEANPATH%\." (
rd /s /q "%_ROSBE_OUTCLEANPATH%" 1> NUL 2> NUL
- )
- if exist "%_ROSBE_MAKEFILE%" (
- del "%_ROSBE_MAKEFILE%" 1> NUL 2> NUL
)
echo Done cleaning ReactOS %ROS_ARCH% source directory.
) else (