Merge pull request #851 from piotrpMSFT/piotrpMSFT/issue850/DepsAppBase
When deps file path is provided, use it to resolve the app_dir. fixes #850
This commit is contained in:
commit
a02f6c2246
1 changed files with 2 additions and 1 deletions
|
@ -89,7 +89,8 @@ bool parse_arguments(const int argc, const pal::char_t* argv[], arguments_t& arg
|
||||||
{
|
{
|
||||||
trace::error(_X("Failed to locate deps file: %s"), args.deps_path.c_str());
|
trace::error(_X("Failed to locate deps file: %s"), args.deps_path.c_str());
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
args.app_dir = get_directory(args.deps_path);
|
||||||
args.app_argc = args.app_argc - 1;
|
args.app_argc = args.app_argc - 1;
|
||||||
args.app_argv = &args.app_argv[1];
|
args.app_argv = &args.app_argv[1];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue