aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Youri/Repository
diff options
context:
space:
mode:
authorMarcelo Leitner <mrl@mandriva.com>2007-02-01 12:31:14 +0000
committerMarcelo Leitner <mrl@mandriva.com>2007-02-01 12:31:14 +0000
commit17b77481521eab1af426cd4e4b063031a6bef393 (patch)
treee6d46a794d3aaccbecb9025d9578d186648d45b8 /lib/Youri/Repository
parentb7542886542c2805b26140d2a011acc897311e1e (diff)
downloadmga-youri-core-17b77481521eab1af426cd4e4b063031a6bef393.tar
mga-youri-core-17b77481521eab1af426cd4e4b063031a6bef393.tar.gz
mga-youri-core-17b77481521eab1af426cd4e4b063031a6bef393.tar.bz2
mga-youri-core-17b77481521eab1af426cd4e4b063031a6bef393.tar.xz
mga-youri-core-17b77481521eab1af426cd4e4b063031a6bef393.zip
- Fix mdv-youri-submit-force: do not call get_files if we don't know the src
path. (thus avoids find /)
Diffstat (limited to 'lib/Youri/Repository')
-rw-r--r--lib/Youri/Repository/Mandriva_upload.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Youri/Repository/Mandriva_upload.pm b/lib/Youri/Repository/Mandriva_upload.pm
index 9573eab..73f7e96 100644
--- a/lib/Youri/Repository/Mandriva_upload.pm
+++ b/lib/Youri/Repository/Mandriva_upload.pm
@@ -298,11 +298,12 @@ sub _get_section {
# do not use testing by default
next if $m =~ /testing/;
next unless
+ ($media->{src}{$m} &&
$self->get_files(
'',
$media->{src}{$m},
$source_pattern
- ) || $self->get_files(
+ )) || $self->get_files(
'',
$media->{$arch}{$m},
$binary_pattern