Bug 754581

git-svn-id: svn://10.0.0.236/trunk@263821 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
kaie%kuix.de 2012-05-15 12:29:33 +00:00
parent afccda6d94
commit 73e5d80d81
2 changed files with 11 additions and 8 deletions

View File

@ -12,13 +12,6 @@ if [ "${NSS_TESTS}" = "memleak" ]; then
PORT_32_OPT=8550
fi
# if your machine's IP isn't registered in DNS,
# you must set appropriate environment variables
# that can be resolved locally.
# For example, if localhost.localdomain works on your system, set:
#HOST=localhost
#DOMSUF=localdomain
# example configuration
case ${HOST} in
host1)

View File

@ -1,6 +1,16 @@
#! /bin/bash
HOST=$(hostname | cut -d. -f1)
export HOST
# if your machine's IP isn't registered in DNS,
# you must set appropriate environment variables
# that can be resolved locally.
# For example, if localhost.localdomain works on your system, set:
#HOST=localhost
#DOMSUF=localdomain
#export DOMSUF
ARCH=$(uname -s)
ulimit -c unlimited 2> /dev/null
@ -45,7 +55,7 @@ if [ "${ARCH}" = "SunOS" ]; then
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`
VERSION=`sed -e 's; release ;;' -e 's; (.*)$;;' -e 's;Red Hat Enterprise Linux Server;RHEL;' -e 's;Red Hat Enterprise Linux Workstation;RHEL;' /etc/system-release`
ARCH=Linux/${VERSION}
echo ${ARCH}
fi