From: Sven Schöling Date: Wed, 9 Feb 2011 14:11:20 +0000 (+0100) Subject: DateTime Abhängigkeiten, version 5.xx_xx support X-Git-Tag: release-2.6.3~61^2~8 X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/commitdiff_plain/f230209963a59ee6bc338be9763c7f501d917193 DateTime Abhängigkeiten, version 5.xx_xx support --- diff --git a/scripts/find-use.pl b/scripts/find-use.pl index dbd30aa60..778f11ba8 100644 --- a/scripts/find-use.pl +++ b/scripts/find-use.pl @@ -12,6 +12,10 @@ my (%uselines, %modules, %supplied, %requires); # easily obtained, I'll just hard code the bigger ones we use here. the same # hash will be filled later with information gathered from the source files. %requires = ( + 'DateTime' => { + 'DateTime::Duration' => 1, + 'DateTime::Infinite' => 1, + }, 'Rose::DB::Object' => { 'Rose::DB::Object::ConventionManager' => 1, 'Rose::DB::Object::Manager' => 1, @@ -46,7 +50,7 @@ find(sub { my ($useline) = m/^use\s+(.*?)$/; - next if $useline =~ /^[\d.]+;/; # skip version requirements + next if $useline =~ /^[\d._]+;/; # skip version requirements next if !$useline; $uselines{$useline} ||= [];