From 89024f5d9fbb7c7f2cc4a6378bbb5501081bf050 Mon Sep 17 00:00:00 2001 From: James Tanner Date: Wed, 12 Mar 2014 17:12:38 -0400 Subject: [PATCH] Fix typo in portinstall --- library/packaging/portinstall | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/packaging/portinstall b/library/packaging/portinstall index 711a853e34a..057eee6fa74 100644 --- a/library/packaging/portinstall +++ b/library/packaging/portinstall @@ -132,7 +132,7 @@ def remove_packages(module, packages): if query_package(module, package): name_without_digits = re.sub('[0-9]', '', package) - rc, out, err = module.run_command("%s `%s %s`" % (pkg_delete_path, pkg_glob_path, pipes.quote(lame_without_digits)),use_unsafe_shell=True) + rc, out, err = module.run_command("%s `%s %s`" % (pkg_delete_path, pkg_glob_path, pipes.quote(name_without_digits)),use_unsafe_shell=True) if query_package(module, package): module.fail_json(msg="failed to remove %s: %s" % (package, out))