diff options
author | François Andriot <albator78@libertysurf.fr> | 2014-06-18 19:33:34 +0200 |
---|---|---|
committer | François Andriot <albator78@libertysurf.fr> | 2014-06-18 19:33:34 +0200 |
commit | ca6bbdcf85658a61f8c0a6a8132310bb53809c2c (patch) | |
tree | 1f663ba6e3b49913fc0c5854bed867f3c1730632 /redhat/build | |
parent | 470510a717da8d95508202f27e28b23c88f5d7e7 (diff) | |
download | tde-packaging-ca6bbdcf85658a61f8c0a6a8132310bb53809c2c.tar.gz tde-packaging-ca6bbdcf85658a61f8c0a6a8132310bb53809c2c.zip |
RPM Packaging: update 3.5.13.2 for RHEL7
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 |