diff --git a/library/packaging/portinstall b/library/packaging/portinstall index 4e27cdf12a..5718c40eb7 100644 --- a/library/packaging/portinstall +++ b/library/packaging/portinstall @@ -89,7 +89,7 @@ def query_package(module, name): if pkgng: rc, out, err = module.run_command("%s %s" % (pkg_info_path, name_without_digits)) else: - rc, out, err = module.run_command("%s `%s %s`" % (pkg_info_path, pkg_glob_path, name_without_digits)) + rc, out, err = module.run_command("%s %s" % (pkg_info_path, name_without_digits)) found = rc == 0