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[345] expected Stop &exit fi  | slc_major | 
| then echo n Checking for machine & | machine | 
| then | machine | 
| esac else | machine | 
| export ARCH | 
Initial value:
"`uname`" echo -n "Checking for OS ... " >&2 if [ ! -s /etc/redhat-release ]
Definition at line 8 of file check_platform.svn-base.
| esac else machine | 
Initial value:
"ia32" fi echo $machine >&2 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/') platform="slc${slc_major}_${machine}_gcc${gcc_major}${gcc_minor}" platform=$(echo ${platform} | sed 's/gcc34[0-9]*$/gcc34/') echo "Platform is "${platform} export SYSNAME=${platform} elif [ $slc_major -eq 5 ]
Definition at line 33 of file check_platform.svn-base.
| then machine | 
Initial value:
$(uname -m)
        case "X${machine}" in 
            "Xx86_64") machine="amd64"
Definition at line 28 of file check_platform.svn-base.
Initial value:
$(uname -m | grep -E "i[3456]86") if [ "x$machine" = "x" ]
Definition at line 26 of file check_platform.svn-base.
| then echo not RedHat derived Stop& exit fi if&& [ "x$(grep "Scientific Linux" /etc/redhat-release)" = "x" ] then echo not SLC Scientific Linux [345] expected Stop& exit fi slc_major | 
Initial value:
$(sed 's/^.*[Rr]elease[ ]\+\([0-9]\+\)\..*$/\1/' < /etc/redhat-release) echo "SLC "$slc_major >&2 if [ $slc_major -eq 4 ]
Definition at line 20 of file check_platform.svn-base.
 1.4.7