diff options
Diffstat (limited to 'lib/MGA/DrakISO/BuildClassic.pm')
-rwxr-xr-x | lib/MGA/DrakISO/BuildClassic.pm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/MGA/DrakISO/BuildClassic.pm b/lib/MGA/DrakISO/BuildClassic.pm index 86eaebd..b276a71 100755 --- a/lib/MGA/DrakISO/BuildClassic.pm +++ b/lib/MGA/DrakISO/BuildClassic.pm @@ -99,10 +99,10 @@ sub prepare_files { my $version = $build->{settings}{version}; my $tag = $build->{settings}{tag}; - my $files_dir = $build->get_builddir('files') . '/'; + my $arch_dir = $build->get_builddir('files') . '/' . $arch; - create_product_id($build, $files_dir . $arch . '/product.id'); - create_index($build, $files_dir . $arch . '/pkg-' . $version . '-' . $tag . '.idx'); + create_product_id($build, $arch_dir . '/product.id'); + create_index($build, $arch_dir . '/pkg-' . $version . '-' . $tag . '.idx'); } ############################################################################### @@ -474,7 +474,7 @@ sub build_installer_media { # Create a clean set of media directories my $arch = $build->{settings}{arch}; - my $arch_dir = $build->get_builddir($arch); + my $arch_dir = $build->get_builddir('files') . '/' . $arch; my $media_dir = $arch_dir . '/media/'; rm_rf($media_dir) if -e $media_dir; mkdir_p($media_dir . 'media_info'); |