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

jamessan pushed a commit to branch master
in repository devscripts.

commit 1100e034ba20421ae40a5918fd4644574e1d9454
Author: James McCoy <[email protected]>
Date:   Sat Dec 19 19:51:03 2015 -0500

    bts: Fix make_path error handling for cache dir
    
    Signed-off-by: James McCoy <[email protected]>
---
 scripts/bts.pl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/bts.pl b/scripts/bts.pl
index 80f6bba..ef84389 100755
--- a/scripts/bts.pl
+++ b/scripts/bts.pl
@@ -2210,8 +2210,8 @@ sub bts_cache {
        my $err;
        make_path($cachedir, { error => \$err });
        if (@$err) {
-           my $msg = join("\n", map { "couldn't mkdir $_->[0]: $_->[1]" } 
@$err);
-           die "$progname: $msg\n";
+           my ($path, $msg) = each(%{$err->[0]});
+           die "$progname: couldn't mkdir $path: $msg\n";
        }
     }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/collab-maint/devscripts.git

_______________________________________________
devscripts-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel

Reply via email to