[libdist-zilla-role-bootstrap-perl] 96/101: Dirs will never be files, dolt

Axel Beckert abe at deuxchevaux.org
Sat Aug 8 11:58:41 UTC 2015


This is an automated email from the git hooks/post-receive script.

abe pushed a commit to annotated tag 0.2.2-source
in repository libdist-zilla-role-bootstrap-perl.

commit 43bd265d6b97d3970c0033b5a768a99e1cc84a8e
Author: Kent Fredric <kentfredric at gmail.com>
Date:   Tue Nov 5 01:32:58 2013 +1300

    Dirs will never be files, dolt
---
 lib/tools.pm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/tools.pm b/lib/tools.pm
index 52b88c3..d9009ee 100644
--- a/lib/tools.pm
+++ b/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{/?$}{/};

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdist-zilla-role-bootstrap-perl.git



More information about the Pkg-perl-cvs-commits mailing list