- Implemented ::getDataLocation.
- Called ::getDataLocation from Context.
This commit is contained in:
Paul Beckingham 2014-11-02 22:10:47 -05:00
parent 7845786398
commit c8dfa8f7fd
3 changed files with 26 additions and 1 deletions

View file

@ -166,7 +166,7 @@ int Context::initialize (int argc, const char** argv)
// The data location, Context::data_dir, is determined from the assumed
// location (~/.task), or set by data.location in the config file, or
// overridden by rc.data.location on the command line.
parser.getDataLocation (data_dir); // <-- rc.data.location=<location>
cli.getDataLocation (data_dir); // <-- rc.data.location=<location>
override = getenv ("TASKDATA");
if (override)