diff options
author | J Pipkin <j@dawnrazor.net> | 2013-01-13 08:11:20 -0600 |
---|---|---|
committer | J Pipkin <j@dawnrazor.net> | 2013-01-13 08:11:20 -0600 |
commit | e86433279141617306c136e2cac4ca42d5821d55 (patch) | |
tree | 005ded952a33a4ae3db38a8706bc6d00947123ee /sboclean | |
parent | 08947a0d754cfc1e64fb7cfec5619b7d06f44f05 (diff) | |
download | sbotools-e86433279141617306c136e2cac4ca42d5821d55.tar.xz |
bug fixes to initial commit
Diffstat (limited to 'sboclean')
-rwxr-xr-x | sboclean | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -78,12 +78,13 @@ sub remove_stuff($) { } sub clean_c32() { - opendir(my $dh, '/tmp/'); + my $dir = '/tmp'; + opendir(my $dh, $dir); FIRST: while (my $ls = readdir $dh) { next FIRST unless $ls =~ /^package-.+-compat32$/; rm_full "$dir/$ls"; } -{ +} remove_stuff $config{SBO_HOME} .'/distfiles' if $clean_dist; |