Changeset 2287 in ProjectBuilder for devel/pb-modules/lib/ProjectBuilder/Base.pm
- Timestamp:
- Sep 4, 2017, 1:21:18 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb-modules/lib/ProjectBuilder/Base.pm
r2270 r2287 578 578 =item B<pb_path_expand> 579 579 580 Expand out a path by environment variables as ($ENV{ XXX}) and ~580 Expand out a path by environment variables as ($ENV{'ENVVAR'}) and ~ 581 581 582 582 =cut … … 587 587 588 588 eval { $path =~ s/(\$ENV.+\})/$1/eeg; }; 589 $path =~ s/^\~/$ENV{ HOME}/;589 $path =~ s/^\~/$ENV{'HOME'}/; 590 590 591 591 return($path);
Note:
See TracChangeset
for help on using the changeset viewer.