From aa04318f190c864688aa0427f102bd2ab3436c8a Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Wed, 27 Jul 2022 10:15:02 +0200 Subject: [PATCH] d/scripts: include bad $skipabi value in error for easier debugging Signed-off-by: Thomas Lamprecht --- debian/scripts/abi-check | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/debian/scripts/abi-check b/debian/scripts/abi-check index 9fb49f1..9a27f04 100755 --- a/debian/scripts/abi-check +++ b/debian/scripts/abi-check @@ -5,8 +5,7 @@ my $abiold = shift; my $skipabi = shift; # to catch multiple abi-prev-* files being passed in -die "invalid value for skipabi parameter\n" - if (defined($skipabi) && $skipabi !~ /^[01]$/); +die "invalid value '$skipabi' for skipabi parameter\n" if defined($skipabi) && $skipabi !~ /^[01]$/; $abinew =~ /abi-(.*)/; my $abistr = $1;