diff options
-rwxr-xr-x | draklive | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1056,7 +1056,7 @@ sub set_device_label { sub get_cdrom_master_path { my ($live, $opts) = @_; - get_builddir($live) . $live->{prefix}{build}{images} . '/' . ($opts->{boot} ? 'boot-' . $opts->{boot} : 'live') . '.iso'; + get_builddir($live) . $live->{prefix}{build}{images} . '/' . get_live_name($live) . ($opts->{boot} && "-boot-$opts->{boot}") . '.iso'; } sub create_cdrom_master { @@ -1097,7 +1097,7 @@ sub create_cdrom_master { sub get_usb_master_path { my ($live) = @_; - get_builddir($live) . $live->{prefix}{build}{images} . '/live.img'; + get_builddir($live) . $live->{prefix}{build}{images} . '/' . get_live_name($live) . '.img'; } sub create_usb_master { |