Skip to content

Commit

Permalink
getbuildids: fix comparison of entries with leading 0- in the id
Browse files Browse the repository at this point in the history
  • Loading branch information
mlschroe committed Sep 2, 2021
1 parent f825606 commit fe1edf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion getbuildids
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ if (@ARGV && $ARGV[0] eq 'cachecheck') {
next unless $bid;
if ($bid =~ / 0-/) {
my $buildid2 = $buildid;
$buildid2 =~ s/ .*?-/0-/;
$buildid2 =~ s/ .*?-/ 0-/;
next if $bid ne $buildid2;
} else {
next if $bid ne $buildid;
Expand Down

0 comments on commit fe1edf8

Please sign in to comment.