mirror of
https://github.com/reactos/RosBE.git
synced 2024-11-24 11:59:57 +00:00
- TodaySs Work on my Feature for 0.3.8.
- Small simplification for config.cmd svn path=/trunk/tools/RosBE-Windows/; revision=350
This commit is contained in:
parent
3b3ba748e5
commit
1795bc2273
@ -220,8 +220,7 @@ sed "s/\"_WINKD_\" value=\"[0-1]\"/\"_WINKD_\" value=\"%F%\"/g" "%ROSBEBASEDIR%\
|
||||
::
|
||||
copy "%ROSBEBASEDIR%\config10.rbuild" "%ROSBEBASEDIR%\config.tmp"
|
||||
del "%ROSBEBASEDIR%\*.rbuild"
|
||||
copy "%ROSBEBASEDIR%\config.tmp" "%ROSBEBASEDIR%\config.rbuild"
|
||||
del "%ROSBEBASEDIR%\*.tmp"
|
||||
ren "%ROSBEBASEDIR%\config.tmp" "config.rbuild"
|
||||
copy "%ROSBEBASEDIR%\config.rbuild" "config.rbuild"
|
||||
|
||||
goto :NOK
|
||||
|
@ -7,7 +7,7 @@
|
||||
|
||||
name="" Is the Name of your Shortcut
|
||||
value="" Is the Path to a Source Tree Location.
|
||||
Example: <property name="my" value="D:\SVNTree\ReactOS" />
|
||||
Example: <property name="example" value="X:\Path\to\Tree" />
|
||||
-->
|
||||
|
||||
<property name="main" value="C:\RosBE\Source" />
|
||||
|
@ -12,6 +12,13 @@ title Choose your Source Folder...
|
||||
|
||||
if /I "%1"=="" (
|
||||
goto :DEF
|
||||
)
|
||||
if /I "%1"=="add" (
|
||||
goto :ADD
|
||||
)
|
||||
if /I "%1"=="remove" (
|
||||
goto :REM
|
||||
)
|
||||
) else (
|
||||
set XY=%1
|
||||
goto :RUN
|
||||
@ -28,5 +35,26 @@ grep \"%XY%\" "%ROSBEBASEDIR%\srclist.xml"|cutz dir > "%ROSBEBASEDIR%\aaa.tmp"
|
||||
set /P dir=< "%ROSBEBASEDIR%\aaa.tmp"
|
||||
del "%ROSBEBASEDIR%\aaa.tmp"
|
||||
cd /D %dir%
|
||||
goto :END
|
||||
|
||||
:ADD
|
||||
echo Choose your Shortcut:
|
||||
SET /P CUT=
|
||||
echo Choose your Source Folder:
|
||||
SET /P DIR=
|
||||
echo ^<property name="%CUT%" value="%DIR%" /^> > "%ROSBEBASEDIR%\aaa.tmp"
|
||||
copy "%ROSBEBASEDIR%\srclist.xml" + "%ROSBEBASEDIR%\aaa.tmp" "%ROSBEBASEDIR%\srclist2.xml"
|
||||
del "%ROSBEBASEDIR%\srclist.xml"
|
||||
ren "%ROSBEBASEDIR%\srclist2.xml" "srclist.xml"
|
||||
goto :END
|
||||
|
||||
:REM
|
||||
echo Choose your Shortcut:
|
||||
SET /P CUTREM=
|
||||
grep -v \"%CUTREM%\" "%ROSBEBASEDIR%\srclist.xml" > "%ROSBEBASEDIR%\srclist2.xml"
|
||||
del "%ROSBEBASEDIR%\srclist.xml"
|
||||
ren "%ROSBEBASEDIR%\srclist2.xml" "srclist.xml"
|
||||
goto :END
|
||||
|
||||
:END
|
||||
title ReactOS Build Environment %_VER%
|
||||
|
Loading…
Reference in New Issue
Block a user