[Osgeo4w-commits] r1098 - trunk/setup

svn_osgeo4w at osgeo.org svn_osgeo4w at osgeo.org
Mon Sep 22 22:46:54 EDT 2008


Author: warmerdam
Date: 2008-09-22 22:46:53 -0400 (Mon, 22 Sep 2008)
New Revision: 1098

Modified:
   trunk/setup/main.cc
Log:
Use _cwd_ as a local_dir alias for current working directory (autorun)

Modified: trunk/setup/main.cc
===================================================================
--- trunk/setup/main.cc	2008-09-22 19:56:46 UTC (rev 1097)
+++ trunk/setup/main.cc	2008-09-23 02:46:53 UTC (rev 1098)
@@ -132,6 +132,9 @@
     
     UserSettings::Instance ().loadAllSettings ();
 
+    if( strcmp(local_dir.c_str(),"_cwd_") == 0 )
+        local_dir = std::string (cwd);
+
     SplashPage Splash;
     ExpressPackageSetupPage ExpressPackage;
     AntiVirusPage AntiVirus;



More information about the osgeo4w-commits mailing list