commit d3db332c7d9bab3be5cbb04e1d9283627048ee05 parent f7f233674e93fff3b37b8a058a474596f3b1af13 Author: Jacob Pipkin <j@dawnrazor.net> Date: Mon, 11 Jun 2012 21:07:09 -0500 code reduction Diffstat:
| M | sboclean | | | 14 | ++------------ |
1 file changed, 2 insertions(+), 12 deletions(-)
diff --git 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;