d/scripts: include bad $skipabi value in error
for easier debugging Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
da0f51338f
commit
aa04318f19
3
debian/scripts/abi-check
vendored
3
debian/scripts/abi-check
vendored
@ -5,8 +5,7 @@ my $abiold = shift;
|
|||||||
my $skipabi = shift;
|
my $skipabi = shift;
|
||||||
|
|
||||||
# to catch multiple abi-prev-* files being passed in
|
# to catch multiple abi-prev-* files being passed in
|
||||||
die "invalid value for skipabi parameter\n"
|
die "invalid value '$skipabi' for skipabi parameter\n" if defined($skipabi) && $skipabi !~ /^[01]$/;
|
||||||
if (defined($skipabi) && $skipabi !~ /^[01]$/);
|
|
||||||
|
|
||||||
$abinew =~ /abi-(.*)/;
|
$abinew =~ /abi-(.*)/;
|
||||||
my $abistr = $1;
|
my $abistr = $1;
|
||||||
|
Loading…
Reference in New Issue
Block a user