From 514a6176212ef62056bb5a9ac965f698d2dcc05f Mon Sep 17 00:00:00 2001 From: Dodji Seketeli Date: Tue, 11 Jul 2017 17:11:05 +0200 Subject: [PATCH] Fix support of the --wp option of abipkgdiff 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 --- tools/abipkgdiff.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/abipkgdiff.cc b/tools/abipkgdiff.cc index ff404d32..df1b9661 100644 --- a/tools/abipkgdiff.cc +++ b/tools/abipkgdiff.cc @@ -2302,7 +2302,7 @@ parse_command_line(int argc, char* argv[], options& opts) 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") -- 2.43.5