[BACK]Return to checkver CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/lib/checkver between version 1.9 and 1.9.4.2

version 1.9, 1999/11/05 20:16:56 version 1.9.4.2, 2000/08/12 12:55:39
Line 207  fi
Line 207  fi
     # Grab the major and minor from the installed library.      # Grab the major and minor from the installed library.
     instmajor=`basename $instlib | awk 'BEGIN { FS="." } { print $3 } '`      instmajor=`basename $instlib | awk 'BEGIN { FS="." } { print $3 } '`
     instminor=`basename $instlib | awk 'BEGIN { FS="." } { print $4 } '`      instminor=`basename $instlib | awk 'BEGIN { FS="." } { print $4 } '`
       instteeny=`basename $instlib | awk 'BEGIN { FS="." } { print $5 + 0 } '`
   
     # If they're greater than the source, complain.      # If they're greater than the source, complain.
     if [ "0$major" -eq "0$instmajor" ] ; then      if [ "0$major" -eq "0$instmajor" ] ; then
         if [ "0$minor" -lt "0$instminor" ] ; then          if [ "0$minor" -eq "0$instminor" ] ; then
               if [ "0$teeny" -lt "0$instteeny" ] ; then
                   if [ $error -eq 0 -a $quiet -eq 0 ]; then
                       echo -n "The following libraries have versions greater"
                       echo " than the source:"
                   fi
                   echo $instlib > /dev/stderr
                   error=1
               fi
           elif [ "0$minor" -lt "0$instminor" ] ; then
             if [ $error -eq 0 -a $quiet -eq 0 ]; then              if [ $error -eq 0 -a $quiet -eq 0 ]; then
                 echo -n "The following libraries have versions greater"                  echo -n "The following libraries have versions greater"
                 echo " than the source:"                  echo " than the source:"

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.9.4.2

CVSweb <webmaster@jp.NetBSD.org>