summaryrefslogtreecommitdiff
path: root/mkbaselibs
diff options
context:
space:
mode:
Diffstat (limited to 'mkbaselibs')
-rwxr-xr-xmkbaselibs4
1 files changed, 4 insertions, 0 deletions
diff --git a/mkbaselibs b/mkbaselibs
index c6ef8b2..e130f2f 100755
--- a/mkbaselibs
+++ b/mkbaselibs
@@ -1092,6 +1092,10 @@ my @rpms;
my @debugrpms;
for my $rpm (@pkgs) {
my $rpmn = $rpm;
+ unless (-f $rpm) {
+ warn ("$rpm does not exist, skipping\n");
+ next;
+ }
next if $rpm =~ /\.(no)?src\.rpm$/; # ignore source rpms
next if $rpm =~ /\.spm$/;
$rpmn =~ s/.*\///; # Remove leading path info