Go to the source code of this file.
Variables | |
export | ARCH |
then echo not RedHat derived Stop &exit fi if &&["x$(grep "Scientific Linux" /etc/redhat-release)"="x"] then echo not SLC Scientific Linux[34] expected Stop &exit fi | slc_major |
then | machine |
export ARCH |
Initial value:
"`uname`" gcc_major=$(g++ --version | sed '2,$d;s/^[^ ]\+[ ]\+[^ ]\+[ ]\+\([0-9]\+\)\..*$/\1/') gcc_minor=$(g++ --version | sed '2,$d;s/^.*GCC)[ ]\+[0-9]\+\.\([0-9]\+\)\.\([0-9]\+\).*$/\1\2/') slc_major="" echo -n "Checking for OS ... " >&2 if [ ! -s /etc/redhat-release ]
Definition at line 7 of file check_platform.
then machine |
Initial value:
$(uname -m) case "X${machine}" in "Xx86_64") machine="amd64"
Definition at line 30 of file check_platform.
then echo not RedHat derived Stop& exit fi if&& [ "x$(grep "Scientific Linux" /etc/redhat-release)" = "x" ] then echo not SLC Scientific Linux [34] expected Stop& exit fi slc_major |
Initial value:
$(sed 's/^.*[Rr]elease[ ]\+\([0-9]\+\)\..*$/\1/' < /etc/redhat-release) echo "SLC "$slc_major >&2 echo -n "Checking for machine ... " >&2 machine=$(uname -m | grep -E "i[3456]86") if [ "x$machine" = "x" ]
Definition at line 24 of file check_platform.