aboutsummaryrefslogtreecommitdiffstats
path: root/bin/youri-upload.in
diff options
context:
space:
mode:
authorFlorent Villard <warly@mandriva.com>2006-08-05 08:38:25 +0000
committerFlorent Villard <warly@mandriva.com>2006-08-05 08:38:25 +0000
commit387d16e383eaafebea11519fe0ddd52aa57e31d7 (patch)
treed906243774ae6b0e4b4c139d8cf785dceaf6629d /bin/youri-upload.in
parentbe324c8031430610211b3bb487c23181fa786104 (diff)
downloadmga-youri-core-387d16e383eaafebea11519fe0ddd52aa57e31d7.tar
mga-youri-core-387d16e383eaafebea11519fe0ddd52aa57e31d7.tar.gz
mga-youri-core-387d16e383eaafebea11519fe0ddd52aa57e31d7.tar.bz2
mga-youri-core-387d16e383eaafebea11519fe0ddd52aa57e31d7.tar.xz
mga-youri-core-387d16e383eaafebea11519fe0ddd52aa57e31d7.zip
now youri use config->get instead of %options
Diffstat (limited to 'bin/youri-upload.in')
-rwxr-xr-xbin/youri-upload.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/youri-upload.in b/bin/youri-upload.in
index 9a8c962..d48afa5 100755
--- a/bin/youri-upload.in
+++ b/bin/youri-upload.in
@@ -209,7 +209,7 @@ eval {
$repository = create_instance(
'Youri::Repository',
test => $test,
- user => $options{user},
+ user => $config->get('user'),
verbose => $verbose > 0 ? $verbose - 1 : 0,
targets => [ keys %targets ],
$config->get_section($repository_id)
@@ -241,7 +241,7 @@ foreach my $id (@{$target{checks}}) {
'Youri::Upload::Check',
id => $id,
test => $test,
- user => $options{user},
+ user => $config->get('user'),
verbose => $verbose > 0 ? $verbose - 1 : 0,
$config->get_section($id)
);