From b33f836f1b863207a430bfa9cd1dffeaa406524d Mon Sep 17 00:00:00 2001 From: w00t Date: Tue, 11 Aug 2009 21:01:53 +0000 Subject: Extra bracket on regex go away git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11503 e03df62e-2008-0410-955e-edbf42e46eb7 --- modulemanager | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modulemanager b/modulemanager index 80a556a1a..f98b0a3d1 100755 --- a/modulemanager +++ b/modulemanager @@ -185,7 +185,7 @@ sub resolve_deps { my $ver = $todo{$mod}; my $info = $modules{$mod}{$ver} or die "no dependency information on $mod $ver"; for my $dep (@{$info->{depends}}) { - $dep =~ /^(\S+)(?: \S+))?/ or die "Bad dependency $dep from $info->{from}"; + $dep =~ /^(\S+)(?: \S+)?/ or die "Bad dependency $dep from $info->{from}"; my($depmod, $depvers) = ($1,$2); next if $todo{$depmod} && ver_in_range($todo{$depmod}, $depvers); # need to install a dependency -- cgit v1.2.3