diff --git a/crpptbx/gdat.m b/crpptbx/gdat.m index 52ff9dfac3a9ae48688942f73b7a1e1c21abfecb..b80bb3eba546001c8c365bfcb5d4ff5415ad0315 100644 --- a/crpptbx/gdat.m +++ b/crpptbx/gdat.m @@ -82,8 +82,7 @@ default_machine = 'tcv'; if ~isempty(fusion_machine_defaultname) default_machine = lower(fusion_machine_defaultname); else - [s,hostname]=unix('hostname -a'); - if s || isempty(hostname), hostname=getenv('HOSTNAME');end + hostname=getenv('HOSTNAME'); if ~isempty(regexpi(hostname,'epfl')) default_machine = 'tcv'; elseif ~isempty(regexpi(hostname,'rzg.mpg'))