summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-11-17 11:01:59 +0000
committerOlivier Blin <oblin@mandriva.com>2008-11-17 11:01:59 +0000
commite4e0b08270689fc82666eaa577cbefcd5f816f98 (patch)
tree45df253136774ff5eb0f3deeebac95d4d8b1f3b4
parent22c851f8ab5f9c0b606c5e10974480a15066e8f1 (diff)
downloaddrakiso-e4e0b08270689fc82666eaa577cbefcd5f816f98.tar
drakiso-e4e0b08270689fc82666eaa577cbefcd5f816f98.tar.gz
drakiso-e4e0b08270689fc82666eaa577cbefcd5f816f98.tar.bz2
drakiso-e4e0b08270689fc82666eaa577cbefcd5f816f98.tar.xz
drakiso-e4e0b08270689fc82666eaa577cbefcd5f816f98.zip
do not add loop extension twice
-rwxr-xr-xdraklive4
1 files changed, 2 insertions, 2 deletions
diff --git a/draklive b/draklive
index 8b676c2..18c9a07 100755
--- a/draklive
+++ b/draklive
@@ -397,7 +397,7 @@ sub create_loopback_files {
eval { rm_rf($copy_tree) };
hardlink_filtered($live->get_system_root, $copy_tree, $module->{files});
my $loop = $loop_types{$module->{type}};
- $loop->{build}->($live, { path => "$live->{prefix}{build}{modules}/$module->{name}$loop->{extension}", root => $copy_tree, exclude => \@excluded_files });
+ $loop->{build}->($live, { path => "$live->{prefix}{build}{modules}/$module->{name}", root => $copy_tree, exclude => \@excluded_files });
eval { rm_rf($copy_tree) };
}
@@ -411,7 +411,7 @@ sub create_loopback_files {
eval { rm_rf($copy_tree) };
hardlink_filtered($excluded_tree, $copy_tree, $module->{files});
my $loop = $loop_types{$module->{type}};
- $loop->{build}->($live, { path => "$live->{prefix}{build}{modules}/excluded-$module->{name}$loop->{extension}", root => $copy_tree });
+ $loop->{build}->($live, { path => "$live->{prefix}{build}{modules}/excluded-$module->{name}", root => $copy_tree });
eval { rm_rf($copy_tree) };
}