Changeset 917


Ignore:
Timestamp:
Nov 3, 2006, 1:29:22 AM (13 years ago)
Author:
bruno
Message:

centos support should be ok now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/stable/tools/distro-env

    r916 r917  
    2929        elif grep -q CentOS /etc/redhat-release ; then
    3030            export ddir="centos"
    31             export dver=`awk '{print $4}' /etc/redhat-release`
     31            export dver=`awk '{print $3}' /etc/redhat-release`
    3232        else
    3333            export ddir="redhat"
     
    9191        suf=".fc${dver1}"
    9292    elif [ $ddir = "centos" ]; then
     93        dver1=`echo ${dver} | sed "s/\.[0-9]//"`
    9394        suf=".centos${dver1}"
    9495    elif [ $ddir = "redhat" ]; then
Note: See TracChangeset for help on using the changeset viewer.