Cope with absent USER variable
This commit is contained in:
parent
b05b37a559
commit
474960ddc6
|
@ -8,7 +8,8 @@ AbstractLauncher subclass: #LinuxIODevStartup
|
|||
startUp
|
||||
| i |
|
||||
FileDirectory setDefaultDirectory: (UnixProcess env at: 'HOME'), '/src/squeak-phone'.
|
||||
Utilities authorInitials: (UnixProcess env at: 'USER').
|
||||
(UnixProcess env at: 'USER' ifAbsent: [nil])
|
||||
ifNotNil: [:u | Utilities authorInitials: u].
|
||||
|
||||
NetNameResolver localHostName caseOf: {
|
||||
['zip'] -> [
|
||||
|
|
Loading…
Reference in New Issue