summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2006-02-17 14:28:48 +0000
committerOlivier Blin <oblin@mandriva.org>2006-02-17 14:28:48 +0000
commit832ccddc65922a38b244181c81e2ce8e1ce9dcb7 (patch)
tree9fca90785a6e37fecfef0d2329823b6eaa01438c
parent3746dfb0ef026227fbc5c4eb564133ba6073ccd7 (diff)
downloaddrakx-832ccddc65922a38b244181c81e2ce8e1ce9dcb7.tar
drakx-832ccddc65922a38b244181c81e2ce8e1ce9dcb7.tar.gz
drakx-832ccddc65922a38b244181c81e2ce8e1ce9dcb7.tar.bz2
drakx-832ccddc65922a38b244181c81e2ce8e1ce9dcb7.tar.xz
drakx-832ccddc65922a38b244181c81e2ce8e1ce9dcb7.zip
allow to pass run_program options to run_
-rwxr-xr-xtools/draklive3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/draklive b/tools/draklive
index 06f413eb6..f40e5d468 100755
--- a/tools/draklive
+++ b/tools/draklive
@@ -242,8 +242,9 @@ sub moddeps_closure {
}
sub run_ {
+ my $options = ref $_[0] eq 'HASH' ? shift @_ : {};
print STDERR "running " . join(' ', @_) . "\n";
- run_program::run(@_);
+ run_program::raw($options, @_);
}
sub get_initrd_path {