aboutsummaryrefslogtreecommitdiffstats
path: root/lib/LXRng/Context.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/LXRng/Context.pm')
-rw-r--r--lib/LXRng/Context.pm2
1 files changed, 1 insertions, 1 deletions
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 '*';
}