aboutsummaryrefslogtreecommitdiff
path: root/SBO-Lib/lib
diff options
context:
space:
mode:
Diffstat (limited to 'SBO-Lib/lib')
-rw-r--r--SBO-Lib/lib/SBO/Lib.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/SBO-Lib/lib/SBO/Lib.pm b/SBO-Lib/lib/SBO/Lib.pm
index a79caab..cec5f5f 100644
--- a/SBO-Lib/lib/SBO/Lib.pm
+++ b/SBO-Lib/lib/SBO/Lib.pm
@@ -298,7 +298,7 @@ sub pull_sbo_tree {
}
my $wanted = sub { chown 0, 0, $File::Find::name; };
- find($wanted, $repo_path);
+ find($wanted, $repo_path) if -d $repo_path;
if ($res and not chk_slackbuilds_txt()) {
generate_slackbuilds_txt();
}