mirror of
https://github.com/duncs/clusterssh.git
synced 2025-07-01 09:07:25 +00:00
commit
dd95e94e7f
1 changed files with 11 additions and 6 deletions
|
@ -123,7 +123,8 @@ sub expand_filename {
|
||||||
$home = ( getpwuid($>) )[5];
|
$home = ( getpwuid($>) )[5];
|
||||||
}
|
}
|
||||||
if ( !defined($home) ) {
|
if ( !defined($home) ) {
|
||||||
$self->debug( 3, 'No home found so leaving filename ', $filename, ' unexpanded' );
|
$self->debug( 3, 'No home found so leaving filename ',
|
||||||
|
$filename, ' unexpanded' );
|
||||||
return $filename;
|
return $filename;
|
||||||
}
|
}
|
||||||
$self->debug( 4, 'Using ', $home, ' as home directory' );
|
$self->debug( 4, 'Using ', $home, ' as home directory' );
|
||||||
|
@ -329,6 +330,10 @@ file name and register the tags found.
|
||||||
|
|
||||||
Read in the given cluster file and register the tags found
|
Read in the given cluster file and register the tags found
|
||||||
|
|
||||||
|
=item $cluster->expand_filename($filename);
|
||||||
|
|
||||||
|
Expand ~ or $HOME in a filename
|
||||||
|
|
||||||
=item $cluster->read_tag_file($filename);
|
=item $cluster->read_tag_file($filename);
|
||||||
|
|
||||||
Read in the given tag file and register the tags found
|
Read in the given tag file and register the tags found
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue