Linux still gives us issues. Fixed hostname. Also disabled CYGWIN detection code -- need to test on a real cygwin system.
39 lines
1.0 KiB
Tcsh
39 lines
1.0 KiB
Tcsh
if( $?CSHENV_DEBUG ) then
|
|
echo "Running tcshrc.system..."
|
|
endif
|
|
|
|
setenv CSHENV_SYSTEM `uname`
|
|
|
|
if( $?CSHENV_DEBUG ) then
|
|
echo 'Initially detected that you are running on a "'${CSHENV_SYSTEM}'" system'
|
|
endif
|
|
|
|
|
|
|
|
# Cygwin systems are kinda funky -- so we fix them up to say "Cygwin"
|
|
#if( echo ${CSHENV_SYSTEM} | grep -i "cygwin" >& /dev/null ) then
|
|
#setenv CSHENV_SYSTEM Cygwin
|
|
#endsw
|
|
|
|
if( $?CSHENV_DEBUG ) then
|
|
echo 'Detected that you are running on a "'${CSHENV_SYSTEM}'" system'
|
|
endif
|
|
|
|
|
|
# Source the common bits, since many systems often have lots in common.
|
|
# For the moment, everything is in here.
|
|
# This file is DEPRECATED from the start!
|
|
source ${CSHENV_DIR}/tcshrc.system.common
|
|
|
|
|
|
# Systems may need many system specific fixes for their systems
|
|
# Such bits go into system-specific files.
|
|
safe_source ${CSHENV_DIR}/tcshrc.system.${CSHENV_SYSTEM}
|
|
if( ! $?CSHENV_SYSTEM_CONFIGURED ) then
|
|
echo 'Warning- Unable to find a proper system configuration set for "'${CSHENV_SYSTEM}'"'
|
|
endif
|
|
|
|
###########################
|
|
# vim: ft=tcsh
|
|
###########################
|