Show
Ignore:
Timestamp:
08/09/10 16:47:07 (22 months ago)
Author:
max
Message:

shepherd: Remove unnecessary warning message when comparing components without version numbers

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/applications/shepherd

    r1289 r1291  
    22 
    33our $progname = 'shepherd'; 
    4 my $version = '1.4.1'; 
     4my $version = '1.4.2'; 
    55 
    66# tv_grab_au 
     
    931931# versioncmp from Sort::Versions by Kenneth J. Albanowski 
    932932sub versioncmp( $$ ) { 
     933 
     934    return -1 unless (@_ == 2 and $_[0] and $_[1]); 
     935 
    933936    my @A = ($_[0] =~ /([-.]|\d+|[^-.\d]+)/g); 
    934937    my @B = ($_[1] =~ /([-.]|\d+|[^-.\d]+)/g);