summaryrefslogtreecommitdiffstats
path: root/lib/MDV/Draklive
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2010-03-30 13:26:26 +0000
committerOlivier Blin <oblin@mandriva.com>2010-03-30 13:26:26 +0000
commit0fe21cbf02725393bab23ca690e1aefc91d97de7 (patch)
treec82c3a50a6efa9201da2adf996e1fa9cc22f3c07 /lib/MDV/Draklive
parentfc897b858da643419aa9cb5b4de5936d0521349b (diff)
downloaddrakiso-0fe21cbf02725393bab23ca690e1aefc91d97de7.tar
drakiso-0fe21cbf02725393bab23ca690e1aefc91d97de7.tar.gz
drakiso-0fe21cbf02725393bab23ca690e1aefc91d97de7.tar.bz2
drakiso-0fe21cbf02725393bab23ca690e1aefc91d97de7.tar.xz
drakiso-0fe21cbf02725393bab23ca690e1aefc91d97de7.zip
rename setarch option as targetarch
Diffstat (limited to 'lib/MDV/Draklive')
-rw-r--r--lib/MDV/Draklive/Utils.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/MDV/Draklive/Utils.pm b/lib/MDV/Draklive/Utils.pm
index d1499dd..eba97c7 100644
--- a/lib/MDV/Draklive/Utils.pm
+++ b/lib/MDV/Draklive/Utils.pm
@@ -27,8 +27,8 @@ sub run_ {
my $options = ref $_[0] eq 'HASH' ? shift @_ : {};
my @cmd = @_;
$options->{timeout} ||= 'never';
- my $setarch = delete $options->{setarch};
- unshift @cmd, 'setarch', $setarch if $setarch;
+ my $targetarch = delete $options->{targetarch};
+ unshift @cmd, 'setarch', $targetarch if $targetarch;
print STDERR "running " . (exists $options->{root} && "(in chroot) ") . join(' ', @cmd) . "\n";
run_program::raw($options, @cmd);
}