Get the path to load the ini file from. I'm not sure if this fix is needed in other...
authorKevin Lim <ktlim@umich.edu>
Wed, 19 Jul 2006 19:28:53 +0000 (15:28 -0400)
committerKevin Lim <ktlim@umich.edu>
Wed, 19 Jul 2006 19:28:53 +0000 (15:28 -0400)
src/sim/main.cc:
    Get the path to load the ini file from.

--HG--
extra : convert_revision : aa38fc9b1bc99cd74d095cbfc67253e4549f91d3

src/sim/main.cc

index d0725ab371abbcf36b675879195ce45cac71e79a..4ea8c413859659491730eafd8fd415d6b8bf7ce1 100644 (file)
@@ -215,7 +215,7 @@ loadIniFile(PyObject *_resolveFunc)
     configStream = simout.find("config.out");
 
     // The configuration database is now complete; start processing it.
-    inifile.load("config.ini");
+    inifile.load(simout.resolve("config.ini"));
 
     // Initialize statistics database
     Stats::InitSimStats();