Changeset 5837 for code/branches/core5/src/libraries/core/CommandLine.cc
- Timestamp:
- Sep 30, 2009, 12:13:01 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core5/src/libraries/core/CommandLine.cc
r5836 r5837 31 31 #include <algorithm> 32 32 #include <sstream> 33 #include <boost/filesystem.hpp>34 33 35 34 #include "util/Convert.h" … … 348 347 { 349 348 std::string filename = CommandLine::getValue("optionsFile").getString(); 350 boost::filesystem::path filepath(PathConfig::getConfigPath() / filename);351 349 352 350 // look for additional arguments in given file or start.ini as default 353 351 // They will not overwrite the arguments given directly 354 352 std::ifstream file; 355 file.open( filepath.string().c_str());353 file.open((PathConfig::getConfigPathString() + filename).c_str()); 356 354 std::vector<std::string> args; 357 355 if (file)
Note: See TracChangeset
for help on using the changeset viewer.