mirror of
https://github.com/speed47/btrfs-list
synced 2024-06-28 22:14:36 +00:00
chore: remove double v's in --version
This commit is contained in:
parent
70ed531ab0
commit
6a0b7705c6
|
@ -355,6 +355,7 @@ if ($opt_version) {
|
|||
my $cmd = run_cmd(silent_stderr => 1, cmd => [qw{ git -C }, $dir, qw{ describe --tags --dirty }]);
|
||||
if ($cmd->{status} == 0 && $cmd->{stdout}) {
|
||||
$ver = $cmd->{stdout}[0];
|
||||
$ver =~ s/^v//;
|
||||
}
|
||||
} ## end if (-d "$dir/.git")
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user