Changes to system detect for linux

Linux still gives us issues.  Fixed hostname.  Also disabled
CYGWIN detection code -- need to test on a real cygwin system.
This commit is contained in:
2014-01-26 15:17:59 -05:00
parent 116419e81a
commit e5292db977
2 changed files with 12 additions and 5 deletions

View File

@ -124,6 +124,15 @@ switch( ${CSHENV_SYSTEM} )
setenv CSHENV_HOSTNAME `hostname | tr "[:upper:]" "[:lower:]"`
breaksw
#Linux may be different, yet still
case Linux:
if( $?CSHENV_DEBUG ) then
echo "BSD-like hostname hack."
endif
setenv CSHENV_HOSTNAME `hostname | tr "[:upper:]" "[:lower:]"`
breaksw
#BSD like hostnames, and non-broken ones.
default:
if( $?CSHENV_DEBUG ) then