aboutsummaryrefslogtreecommitdiff
path: root/SBO-Lib/lib
diff options
context:
space:
mode:
authorJacob Pipkin <j@dawnrazor.net>2012-11-04 13:30:41 -0600
committerJacob Pipkin <j@dawnrazor.net>2012-11-04 13:30:41 -0600
commit89e350f22d044f8073670db354832e3043e710e6 (patch)
tree275f64df979a97dafa6ca85287e947c93e4dc6a4 /SBO-Lib/lib
parente8d07426f592040e945709c1bc574ea3283343f2 (diff)
downloadsbotools2-89e350f22d044f8073670db354832e3043e710e6.tar.xz
removed superfluous "return unless -d $distfiles;" from verify_distfile subroutine
Diffstat (limited to 'SBO-Lib/lib')
-rw-r--r--SBO-Lib/lib/SBO/Lib.pm1
1 files changed, 0 insertions, 1 deletions
diff --git a/SBO-Lib/lib/SBO/Lib.pm b/SBO-Lib/lib/SBO/Lib.pm
index 2f5eac6..b1ce1b7 100644
--- a/SBO-Lib/lib/SBO/Lib.pm
+++ b/SBO-Lib/lib/SBO/Lib.pm
@@ -404,7 +404,6 @@ sub verify_distfile ($$) {
exists $_[1] or script_error 'verify_distfile requires two arguments.';
my ($link, $info_md5) = @_;
my $filename = get_filename_from_link $link;
- return unless -d $distfiles;
return unless -f $filename;
my $md5sum = compute_md5sum $filename;
return $info_md5 eq $md5sum ? 1 : 0;