diff options
author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2018-01-09 23:34:24 +0000 |
---|---|---|
committer | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2018-01-10 00:38:35 +0000 |
commit | 57060f5254e48a9eead04426803d4f102f2b0a4b (patch) | |
tree | 3dc19e87420be8334dd7411c91fdfd8c8984df5b /drakclassic | |
parent | 63555aa270059488b013e6c802cca64a8d6eebdc (diff) | |
download | drakiso-57060f5254e48a9eead04426803d4f102f2b0a4b.tar drakiso-57060f5254e48a9eead04426803d4f102f2b0a4b.tar.gz drakiso-57060f5254e48a9eead04426803d4f102f2b0a4b.tar.bz2 drakiso-57060f5254e48a9eead04426803d4f102f2b0a4b.tar.xz drakiso-57060f5254e48a9eead04426803d4f102f2b0a4b.zip |
Miscellaneous code cleanup.
Diffstat (limited to 'drakclassic')
-rwxr-xr-x | drakclassic | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drakclassic b/drakclassic index 308cf46..c81c28d 100755 --- a/drakclassic +++ b/drakclassic @@ -52,8 +52,8 @@ $::force = 0; sub clean { my ($build) = @_; - if (-e $build->get_builddir) { - system('rm -rf ' . $build->get_builddir); + if (-e $build->get_build_dir) { + system('rm -rf ' . $build->get_build_dir); } if (-e $build->get_chroot_dir) { system('sudo rm -rf ' . $build->get_chroot_dir); @@ -67,9 +67,9 @@ sub clean { my @actions = ( { name => 'dump-config', do => \&MGA::DrakISO::Config::dump_config }, { name => 'clean', do => \&clean }, - { name => 'media', do => \&MGA::DrakISO::BuildMedia::prepare_media }, - { name => 'boot', do => \&MGA::DrakISO::BuildBoot::prepare_iso_bootloader }, - { name => 'master', do => \&MGA::DrakISO::BuildISO::build_iso }, + { name => 'media', do => \&prepare_media }, + { name => 'boot', do => \&prepare_iso_bootloader }, + { name => 'master', do => \&build_iso }, ); my @all = qw(media boot master); |