changeset 648:6837a83471e0

* Fixed project files generation * The old generated project files were not deleted when update_project_files.bat was run for a 2nd time
author mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
date Thu, 14 Oct 2010 13:02:47 +0000
parents f2b3512d0e60
children b9c132cb6ea4
files build/win32/update_project_files.bat
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/build/win32/update_project_files.bat	Wed Oct 13 21:50:43 2010 +0000
+++ b/build/win32/update_project_files.bat	Thu Oct 14 13:02:47 2010 +0000
@@ -1,5 +1,7 @@
 @echo off
 
+SET _=%CD%
+
 :: Delete old generated project files to ensure that they get generated from scratch again
 cd %_%\build_environments
 del code_blocks\fife.cbp
@@ -7,5 +9,6 @@
 del visual_studio_9\fife.vcproj
 
 :: run scons
+cd %_%
 python applications\scons\scons.py -C ..\..\ projects