Patch #1353 2006-08-17 17:08

mortis

assures environment variables are unafffected by update.bat
Download
1353-assures_enviro.patch (514 bytes)
Category
Application::Refinement
Status
Accepted
Close date
2006-08-26 09:05
Assigned to
 
Index: src/update.bat
===================================================================
--- src/update.bat    (revision 2869)
+++ src/update.bat    (working copy)
@@ -1,4 +1,8 @@
 @echo off
+
+REM SETLOCAL assures environment variables created in a batch file are not exported to its calling environment
+setlocal
+
 echo Creating output directory tree
 
 if not exist output md output\
@@ -91,6 +95,3 @@
 strip output\*.exe
 strip output\*.dll
 strip output\share\CodeBlocks\plugins\*.dll
-
-set ZIPCMD=
-set RESDIR=