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:
@ -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
|
||||
|
Reference in New Issue
Block a user