The following commit has been merged in the master branch:
commit ec8e670e7582c65e4a64c5e3ae4ae08f60da8d31
Author: James Vega <[email protected]>
Date: Wed Jul 27 22:43:40 2011 -0400
chdist: Fix the prototype for dist_compare
Signed-off-by: James Vega <[email protected]>
diff --git a/scripts/chdist.pl b/scripts/chdist.pl
index 33a4591..7974aa8 100755
--- a/scripts/chdist.pl
+++ b/scripts/chdist.pl
@@ -384,15 +384,11 @@ sub get_distfiles {
}
-sub dist_compare(\@;$;$) {
+sub dist_compare(\@$$) {
# Takes a list of dists, a type of comparison and a do_compare flag
my ($dists, $do_compare, $type) = @_;
- # Type is 'Sources' by default
- $type ||= 'Sources';
type_check($type);
- $do_compare = 0 if $do_compare eq 'false';
-
# Get the list of dists from the referrence
my @dists = @$dists;
map { dist_check($_) } @dists;
--
Git repository for devscripts
--
To unsubscribe, send mail to [email protected].