Changeset 10749


Ignore:
Timestamp:
11/18/11 11:11:16 (13 years ago)
Author:
Eric.Larour
Message:

Better oshostname resolutoin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/utils/OS/oshostname.m

    r8563 r10749  
    1414
    1515else
    16         [status,hostname]=system('hostname -s');
     16        [status,hostname]=system(['hostname -s | sed ''s/-//g''']);
    1717        if status,
    1818                error('oshostname error message: could not run hostname command on *nix os');
Note: See TracChangeset for help on using the changeset viewer.