diff options
author | Olivier Blin <oblin@mandriva.com> | 2007-02-09 22:11:39 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2007-02-09 22:11:39 +0000 |
commit | f4c98a925513762c3a67247b9d9d165117276b0a (patch) | |
tree | 684dfe44539b7d8a673d3cff6c6a4bf46f1381b2 /bin | |
parent | 37decd2a994b5e95bbafcb1b4752e09c17128437 (diff) | |
download | mga-youri-submit-f4c98a925513762c3a67247b9d9d165117276b0a.tar mga-youri-submit-f4c98a925513762c3a67247b9d9d165117276b0a.tar.gz mga-youri-submit-f4c98a925513762c3a67247b9d9d165117276b0a.tar.bz2 mga-youri-submit-f4c98a925513762c3a67247b9d9d165117276b0a.tar.xz mga-youri-submit-f4c98a925513762c3a67247b9d9d165117276b0a.zip |
get -> get_arg
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/youri-submit | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/youri-submit b/bin/youri-submit index d7acc14..7a43903 100755 --- a/bin/youri-submit +++ b/bin/youri-submit @@ -424,7 +424,7 @@ foreach my $group ([ map { { section => "", file => $_ } } @ARGV ], @$pre_packag foreach my $package (@packages) { print "running reject $id on package $package\n" if $verbose; eval { - $reject->run($package, \%errors, $repository, $target, $config->get('define')); + $reject->run($package, \%errors, $repository, $target, $config->get_arg('define')); }; if ($@) { print STDERR "Failed to run action $id on package $package: $@\n"; @@ -516,7 +516,7 @@ foreach my $id (@{$target_conf->{post}}) { print STDERR "Failed to create post $id: $@\n"; } else { print "running post $id\n" if $verbose; - unless ($post->run($repository, $target, $config->get('define'))) { + unless ($post->run($repository, $target, $config->get_arg('define'))) { print STDERR "Error: " . $post->get_error() . "\n"; } } |