Skip to content

Commit

Permalink
(check-update) revert sub GetDistBaseNoHyphen one line
Browse files Browse the repository at this point in the history
  • Loading branch information
makoto-fujiwara committed Nov 28, 2021
1 parent 1b922d1 commit d4a8c01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion check-update
Original file line number Diff line number Diff line change
Expand Up @@ -1938,7 +1938,7 @@ sub GetDistBaseNoHyphen($$$$){

if ( ! ($value =~ /-/) ) {
print STDERR sprintf("%4d <", __LINE__ ), (caller 0)[3], '> distbase: ', $value, "\n" if $DEBUG_DISTBASE;
$value =~ s/-[0-9.]+$//;
$value =~ s/[0-9.]+$//;
} else { $value = '';}
return $value;
}
Expand Down

0 comments on commit d4a8c01

Please sign in to comment.