summaryrefslogtreecommitdiffstats
path: root/redhat/build/rpmdist.sh
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2014-06-18 19:33:34 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2014-06-18 19:33:34 +0200
commitca6bbdcf85658a61f8c0a6a8132310bb53809c2c (patch)
tree1f663ba6e3b49913fc0c5854bed867f3c1730632 /redhat/build/rpmdist.sh
parent470510a717da8d95508202f27e28b23c88f5d7e7 (diff)
downloadtde-packaging-ca6bbdcf85658a61f8c0a6a8132310bb53809c2c.tar.gz
tde-packaging-ca6bbdcf85658a61f8c0a6a8132310bb53809c2c.zip
RPM Packaging: update 3.5.13.2 for RHEL7
Diffstat (limited to 'redhat/build/rpmdist.sh')
-rwxr-xr-xredhat/build/rpmdist.sh6
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