sbotools2

Maintenance fork of the original sbotools version 2
Log | Files | Refs | README

commit 45a71cbcb00fca3b41535321450597619289460c
parent c63e6781558166d0316c8ffa1e781fa9734e8f8e
Author: Andreas Guldstrand <andreas.guldstrand@gmail.com>
Date:   Tue, 19 Apr 2016 00:11:49 +0200

$File::Find::name is never empty

Diffstat:
MSBO-Lib/lib/SBO/Lib.pm | 5+----
1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/SBO-Lib/lib/SBO/Lib.pm b/SBO-Lib/lib/SBO/Lib.pm @@ -297,10 +297,7 @@ sub pull_sbo_tree { $res = git_sbo_tree($url); } - my $wanted = sub { - $File::Find::name ? chown 0, 0, $File::Find::name - : chown 0, 0, $File::Find::dir; - }; + my $wanted = sub { chown 0, 0, $File::Find::name; }; find($wanted, $repo_path); if ($res and not chk_slackbuilds_txt()) { generate_slackbuilds_txt();