When deps file path is provided, use it to resolve the app_dir.

This commit is contained in:
PiotrP 2016-01-14 14:02:02 -08:00
parent b115569d71
commit bd529c0afb

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