summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2006-02-17 16:21:59 +0000
committerOlivier Blin <oblin@mandriva.org>2006-02-17 16:21:59 +0000
commit59c99edd8b3b9fec92408575a333da2bc4ac15bb (patch)
tree8515aa184b4bdf432d54baaad3df697437428ac3 /tools
parentdac62fc310ad2d5bb166dc96a996b755e811374b (diff)
downloaddrakx-backup-do-not-use-59c99edd8b3b9fec92408575a333da2bc4ac15bb.tar
drakx-backup-do-not-use-59c99edd8b3b9fec92408575a333da2bc4ac15bb.tar.gz
drakx-backup-do-not-use-59c99edd8b3b9fec92408575a333da2bc4ac15bb.tar.bz2
drakx-backup-do-not-use-59c99edd8b3b9fec92408575a333da2bc4ac15bb.tar.xz
drakx-backup-do-not-use-59c99edd8b3b9fec92408575a333da2bc4ac15bb.zip
remove unused variable
Diffstat (limited to 'tools')
-rwxr-xr-xtools/draklive6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/draklive b/tools/draklive
index dccf61a4f..447ecaaec 100755
--- a/tools/draklive
+++ b/tools/draklive
@@ -567,7 +567,7 @@ live <kernel options>
}
sub get_cdrom_master_path {
- my ($live, $media, $opts) = @_;
+ my ($live, $opts) = @_;
get_workdir($live) . $live->{prefix}{images} . '/' . ($opts->{boot_only} ? 'boot' : 'live') . '.iso';
}
@@ -576,7 +576,7 @@ sub create_cdrom_master {
my $label = get_media_label($media) or die "the source device must be described by a label";
my @dest;
unless ($opts->{onthefly}) {
- @dest = ('-o', get_cdrom_master_path($live, $media, $opts));
+ @dest = ('-o', get_cdrom_master_path($live, $opts));
mkdir_p(dirname($dest[1]));
}
run_('mkisofs', '-pad', '-l', '-R', '-J', '-v', '-v',
@@ -642,7 +642,7 @@ sub format_device {
sub record_cdrom_master {
my ($live, $media, $opts) = @_;
$media->{device} or die "no device defined in media configuration";
- my $src = $opts->{onthefly} ? '-' : get_cdrom_master_path($live, $media, $opts);
+ my $src = $opts->{onthefly} ? '-' : get_cdrom_master_path($live, $opts);
run_('cdrecord', '-v', 'dev=' . $media->{device}, $src);
}