From 4437aa7197b310a0e9680469e73ce0cca1df7799 Mon Sep 17 00:00:00 2001 From: "rrelyea%redhat.com" Date: Mon, 2 Nov 2009 17:02:30 +0000 Subject: [PATCH] Give more info on type of Linux builds. git-svn-id: svn://10.0.0.236/branches/RELYEA@258842 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/security/tinderlight/env.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mozilla/security/tinderlight/env.sh b/mozilla/security/tinderlight/env.sh index 7f81b258769..2e64cb11fc9 100644 --- a/mozilla/security/tinderlight/env.sh +++ b/mozilla/security/tinderlight/env.sh @@ -41,6 +41,12 @@ if [ "${ARCH}" = "SunOS" ]; then ARCH=SunOS/$(uname -p) fi +if [ "${ARCH}" = "Linux" -a -f /etc/system-release ]; then + VERSION=`sed -e 's; release ;;' -e 's; (.*)$;;' -e 's;Red Hat Enterprise Linux Server;RHEL;' /etc/system-release` + ARCH=Linux/${VERSION} + echo ${ARCH} +fi + MAIL=mail TB_SERVER=tinderbox-daemon@tinderbox.mozilla.org