aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsboclean14
1 files changed, 2 insertions, 12 deletions
diff --git a/sboclean b/sboclean
index e31f3ea..0b503bc 100755
--- a/sboclean
+++ b/sboclean
@@ -62,17 +62,7 @@ sub remove_stuff {
}
}
-sub clean_distfiles {
- remove_stuff ($config{SBO_HOME} .'/distfiles');
- return;
-}
-
-sub clean_workdirs {
- remove_stuff ('/tmp/SBo');
- return;
-}
-
-clean_distfiles () if $clean_dist eq 'TRUE';
-clean_workdirs () if $clean_work eq 'TRUE';
+remove_stuff ($config{SBO_HOME} . '/distfiles') if $clean_dist eq 'TRUE';
+remove_stuff ('/tmp/SBo') if $clean_work eq 'TRUE';
exit 0;