When deps file path is provided, use it to resolve the app_dir.
This commit is contained in:
parent
b115569d71
commit
bd529c0afb
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());
|
||||
return false;
|
||||
}
|
||||
}
|
||||
args.app_dir = get_directory(args.deps_path);
|
||||
args.app_argc = args.app_argc - 1;
|
||||
args.app_argv = &args.app_argv[1];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue