mirror of
https://github.com/smxi/inxi.git
synced 2025-04-12 12:49:13 +00:00
bug fix
This commit is contained in:
parent
13162680b8
commit
2e1a4df1e1
1 changed files with 1 additions and 1 deletions
2
inxi
2
inxi
|
@ -3264,7 +3264,7 @@ sub set_version_data {
|
|||
open (my $fh, '<', "$self_path/$self_name");
|
||||
while( my $row = <$fh>){
|
||||
chomp $row;
|
||||
$row =~ s/'//g;
|
||||
$row =~ s/'|;//g;
|
||||
if ($row =~ /^my \$self_name/ ){
|
||||
$self_name = (split /=/, $row)[1];
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue