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:
Piotr Puszkiewicz 2016-01-14 16:11:04 -08:00
commit a02f6c2246

View file

@ -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];
}