Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Lazily initialize $*HOME
  • Loading branch information
lizmat committed Feb 14, 2015
1 parent 59ef5f0 commit 6c86e26
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core/Process.pm
Expand Up @@ -39,6 +39,10 @@ multi sub INITIALIZE_DYNAMIC('$*TMPDIR') {
PROCESS::<$TMPDIR> = $*DISTRO.tmpdir;
}

multi sub INITIALIZE_DYNAMIC('$*HOME') {
PROCESS::<$HOME> = $*DISTRO.homedir;
}

{
class IdName {
has Int $!id;
Expand Down

0 comments on commit 6c86e26

Please sign in to comment.