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

jamessan pushed a commit to branch master
in repository devscripts.

commit 988c42e4f5341faa5510a7ef4fd41e2d71565f67
Author: Joonas Kylmälä <[email protected]>
Date:   Tue Jun 27 13:17:09 2017 +0000

    Make bts work even when there is no ~/.cache
    
    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 00b135a..d54f38f 100755
--- a/scripts/bts.pl
+++ b/scripts/bts.pl
@@ -3690,12 +3690,12 @@ sub browse {
     elsif ($caching && have_lwp() && $thing ne '') {
        if (! $hascache) {
            if (! -d dirname($cachedir)) {
-               unless (mkdir(dirname($cachedir))) {
+               unless (make_path(dirname($cachedir))) {
                    warn "$progname: couldn't mkdir ".dirname($cachedir).": 
$!\n";
                    goto LIVE;
                }
            }
-           unless (mkdir($cachedir)) {
+           unless (make_path($cachedir)) {
                warn "$progname: couldn't mkdir $cachedir: $!\n";
                goto LIVE;
            }

-- 
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