summaryrefslogtreecommitdiffstats
path: root/drakclassic
diff options
context:
space:
mode:
Diffstat (limited to 'drakclassic')
-rwxr-xr-xdrakclassic10
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);