This commit is contained in:
Harald Hope 2018-03-21 00:54:12 -07:00
parent 13162680b8
commit 2e1a4df1e1

2
inxi
View file

@ -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];
}