From 96319e48e83fd2b1f5392827dbfe7974845d2f73 Mon Sep 17 00:00:00 2001 From: Ferenc Erki Date: Mon, 15 Jan 2018 06:48:17 +0100 Subject: [PATCH] Convert namespace separators from module to task (fix #1188) --- lib/Rex/Commands.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Rex/Commands.pm b/lib/Rex/Commands.pm index 256b32f0c..9a619fb7f 100644 --- a/lib/Rex/Commands.pm +++ b/lib/Rex/Commands.pm @@ -1035,6 +1035,8 @@ sub needs { Rex::Logger::debug("need to call tasks from $self"); + $self =~ s/::/:/g; + my @tasks_to_run; if($self) { @tasks_to_run = $tl->get_all_tasks(qr{^\Q$self\E:[A-Za-z0-9_\-]+$});