Changeset 27633


Ignore:
Timestamp:
03/07/23 00:28:36 (2 years ago)
Author:
jdquinn
Message:

CHG: Retrieving getenv('USER') should work on all Unixy systems

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/classes/miscellaneous.m

    r27630 r27633  
    2727
    2828                        %Add some information about the model for future reference
    29                         if isunix()
    30                                 username = char(java.lang.System.getProperty('user.name'));
    31                         else
    32                                 username = getenv('username');
    33                         end
     29                        username = getenv('USER');
    3430                        issmver = num2str(issmversion());
    3531                        today   = date();
Note: See TracChangeset for help on using the changeset viewer.