diff options
author | Jacob Pipkin <j@dawnrazor.net> | 2012-09-01 04:53:46 -0500 |
---|---|---|
committer | Jacob Pipkin <j@dawnrazor.net> | 2012-09-01 04:53:46 -0500 |
commit | a302bd5093f2b02ade4e1d903e16d9aff69430a9 (patch) | |
tree | ae4b53c70c939236e98b5e9764bf61b02e7b56d0 /sboclean | |
parent | 834e3d2778e81a9b6ffa5a8bc2ad76fb93c91719 (diff) | |
download | sbotools2-a302bd5093f2b02ade4e1d903e16d9aff69430a9.tar.xz |
more cleanups, fixes, and other backports from the slack14 branch
Diffstat (limited to 'sboclean')
-rwxr-xr-x | sboclean | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -10,14 +10,13 @@ # license: WTFPL <http://sam.zoy.org/wtfpl/COPYING> use 5.12.3; +use strict; +use warnings FATAL => 'all'; use SBO::Lib; use File::Basename; use Getopt::Std; use File::Path qw(remove_tree); -use strict; -use warnings FATAL => 'all'; -my %config = %SBO::Lib::config; my $self = basename ($0); sub show_usage () { @@ -64,7 +63,7 @@ sub remove_stuff ($) { } } -remove_stuff ($config{SBO_HOME} . '/distfiles') if $clean_dist; -remove_stuff ('/tmp/SBo') if $clean_work; +remove_stuff $config{SBO_HOME} . '/distfiles' if $clean_dist; +remove_stuff '/tmp/SBo' if $clean_work; exit 0; |