The package passed to the --wp option was not found because we were
not considering the absolute path of that package. Fixed thus.
* tools/abipkgdiff.cc (parse_command_line): Consider the absolute
path of the package given in argument to --wp.
Signed-off-by: Dodji Seketeli <dodji@redhat.com>
opts.wrong_option = argv[i];
return true;
}
- opts.kabi_whitelist_package = argv[j];
+ opts.kabi_whitelist_package = make_path_absolute(argv[j]).get();
++i;
}
else if (!strcmp(argv[i], "--help")