diff options
Diffstat (limited to 'redhat/build')
-rwxr-xr-x | redhat/build/rpmdist.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/redhat/build/rpmdist.sh b/redhat/build/rpmdist.sh index 047fbfaa6..72ccbf453 100755 --- a/redhat/build/rpmdist.sh +++ b/redhat/build/rpmdist.sh @@ -6,7 +6,7 @@ MGA=0 DIST="" if [ -r /etc/redhat-release ]; then - read a b c d e < /etc/redhat-release + read a b c d e f g < /etc/redhat-release elif [ -r /etc/SuSE-release ]; then a="opensuse" fi @@ -31,6 +31,10 @@ case $a in RHEL="${c%%.*}"; DIST=".el${RHEL}" fi ;; + + "Red") + RHEL="${g%%.*}"; DIST=".el${RHEL}" + ;; # Fedora release 15 (Lovelock) Fedora*) FEDORA="${c}"; DIST=".fc${FEDORA}";; # Opensuse |