Changeset 11543


Ignore:
Timestamp:
02/25/12 08:41:34 (13 years ago)
Author:
Eric.Larour
Message:

Get rid of - for windows machines too

File:
1 edited

Legend:

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

    r10749 r11543  
    77
    88if ispc,
    9         [status,hostname]=system('hostname');hostname=hostname(1:end-1);
     9        [status,hostname]=system('hostname | sed ''s/-//g''');hostname=hostname(1:end-1);
    1010
    1111        if status,
Note: See TracChangeset for help on using the changeset viewer.