diff options
author | Ruediger Oertel <ro@suse.de> | 2010-08-12 15:46:41 +0200 |
---|---|---|
committer | Ruediger Oertel <ro@suse.de> | 2010-08-12 15:46:41 +0200 |
commit | 9b2948ffa62f7950c9f30b131a3e4950750d68e5 (patch) | |
tree | bdaca2affa9b8dd54c2fefefa23b4a765c22ecc6 /mkbaselibs | |
parent | ac0a3892f580b93548bf0829799e61870d86cc5b (diff) | |
download | obs-build-9b2948ffa62f7950c9f30b131a3e4950750d68e5.tar.gz obs-build-9b2948ffa62f7950c9f30b131a3e4950750d68e5.tar.bz2 obs-build-9b2948ffa62f7950c9f30b131a3e4950750d68e5.zip |
mkbaselibs: gracefully skip non-existing rpms
Diffstat (limited to 'mkbaselibs')
-rwxr-xr-x | mkbaselibs | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |