From 84fc580e278aefda62c537a05661db8ae39e55e0 Mon Sep 17 00:00:00 2001 From: Arne Georg Gleditsch Date: Thu, 22 Sep 2011 14:49:40 +0200 Subject: Make "+" a legal character in release strings. --- lib/LXRng/Context.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/LXRng/Context.pm') diff --git a/lib/LXRng/Context.pm b/lib/LXRng/Context.pm index 959151b..ab8d9f2 100644 --- a/lib/LXRng/Context.pm +++ b/lib/LXRng/Context.pm @@ -86,7 +86,7 @@ sub new { $$self{'tree'} = $args{'tree'}; } - if ($$self{'tree'} =~ s/[+]([^+]*)$//) { + if ($$self{'tree'} =~ s/[+](.+)$//) { $$self{'release'} = $1 if $1 ne '*'; } -- cgit v1.2.3