summaryrefslogtreecommitdiffstats
path: root/drakclassic
diff options
context:
space:
mode:
Diffstat (limited to 'drakclassic')
-rwxr-xr-xdrakclassic6
1 files changed, 1 insertions, 5 deletions
diff --git a/drakclassic b/drakclassic
index f42a5b0..096459c 100755
--- a/drakclassic
+++ b/drakclassic
@@ -53,11 +53,7 @@ sub clean {
my $build_dir = $build->get_build_dir;
if (-e $build_dir) {
- run_('rm', '-rf', $build_dir);
- }
- my $chroot_dir = $build->get_chroot_dir;
- if (-e $chroot_dir) {
- run_as_root('rm', '-rf', $chroot_dir);
+ run_as_root('rm', '-rf', $build_dir);
}
}