Diff for /loncom/build/distprobe between versions 1.12 and 1.13

version 1.12, 2007/04/23 20:04:52 version 1.13, 2007/05/31 13:36:53
Line 42  if (-e '/etc/redhat-release') { Line 42  if (-e '/etc/redhat-release') {
         } elsif ($version=~/^9/) {          } elsif ($version=~/^9/) {
             $dist='redhat9';              $dist='redhat9';
         }          }
     } elsif ($versionstring =~ /Fedora Core release ([\d\.]+) /) {      } elsif ($versionstring =~ /Fedora( Core)? release ([\d\.]+) /) {
  my $version=$1;   my $version=$2;
  if ($version - int($version) > .9) {   if ($version - int($version) > .9) {
     $dist = 'fedora'.(int($version)+1);      $dist = 'fedora'.(int($version)+1);
  } else {   } else {

Removed from v.1.12  
changed lines
  Added in v.1.13


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>