Browse files

Dirs will never be files, dolt

  • Loading branch information...
1 parent 89395a2 commit 43bd265d6b97d3970c0033b5a768a99e1cc84a8e @kentfredric kentfredric committed Nov 5, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/tools.pm
View
3 lib/tools.pm
@@ -115,7 +115,8 @@ sub deploy_sterile {
next unless defined $value;
next unless length $value;
my $clean_path = '/tmp/perl5-sterile/' . $key;
- if ( -e $clean_path and -f $clean_path ) {
+ diag("\e[32m?$clean_path\e[0m");
+ if ( -e $clean_path and -d $clean_path ) {
diag("\e[31mRsyncing over $value\e[0m");
$clean_path =~ s{/?$}{/};
$value =~ s{/?$}{/};

0 comments on commit 43bd265

Please sign in to comment.