bldsystemtools/commonbldutils/RemoveMASfromCBR.cmd
changeset 0 83f4b4db085c
child 2 99082257a271
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bldsystemtools/commonbldutils/RemoveMASfromCBR.cmd	Tue Feb 02 01:39:43 2010 +0200
@@ -0,0 +1,26 @@
+@ECHO OFF
+@REM This batch file removes MAS (ActiveSync) from the CBR archive(s) indicated by RelTools.ini
+
+@REM SETLOCAL ensures that when we exit this batchfile, Current Directory and EPOCROOT will be restored to "as found" state.
+SETLOCAL
+
+@REM %BuildDir%\bin\%Platform% is the same as %OutputDir%. But we must not have a drive letter at the start of EPOCROOT.
+
+CD /d %BuildDir%\bin\%Platform%\generic
+@ECHO CD = %BuildDir%\bin\%Platform%\generic
+
+SET EPOCROOT=\bin\%Platform%\generic\
+@ECHO Calling RemoveRel -v mas
+Call RemoveRel -v mas
+@ECHO Calling RemoveRel -v techview_mas
+Call RemoveRel -v techview_mas
+
+CD /d %BuildDir%\bin\%Platform%\techview
+@ECHO CD = %BuildDir%\bin\%Platform%\techview
+
+SET EPOCROOT=\bin\%Platform%\techview\
+@ECHO Calling RemoveRel -v mas
+Call RemoveRel -v mas
+@ECHO Calling RemoveRel -v techview_mas
+Call RemoveRel -v techview_mas
+