diff --git a/library/packaging/portinstall b/library/packaging/portinstall index 057eee6fa74..88e654b8db4 100644 --- a/library/packaging/portinstall +++ b/library/packaging/portinstall @@ -71,7 +71,7 @@ def query_package(module, name): if pkg_info_path: pkgng = False pkg_glob_path = module.get_bin_path('pkg_glob', True) - rc, out, err = module.run_command("%s -e `pkg_glob %s`" % (pkg_info_path, pipes.quote(name), use_unsafe_shell=True) + rc, out, err = module.run_command("%s -e `pkg_glob %s`" % (pkg_info_path, pipes.quote(name)), use_unsafe_shell=True) else: pkgng = True pkg_info_path = module.get_bin_path('pkg', True)