Ignore:
Timestamp:
Dec 17, 2005, 11:02:11 AM (15 years ago)
Author:
bcornec
Message:

sles9 rpm build support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.05/tools/rpm-env

    r102 r233  
    5252    fi
    5353elif [ -e /etc/SuSE-release ]; then
    54     export ddir="suse"
    55     export dver=`cat /etc/SuSE-release | head -1 | awk '{print $3}'`
     54    grep -q Enterprise /etc/SuSE-release
     55    if [ $? -eq 0 ]; then
     56        export ddir="sles"
     57        export dver=`cat /etc/SuSE-release | head -1 | awk '{print $5}'`
     58    else
     59        export ddir="suse"
     60        export dver=`cat /etc/SuSE-release | head -1 | awk '{print $3}'`
     61    fi
    5662else
    5763    export dver=""
Note: See TracChangeset for help on using the changeset viewer.