You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bookkeeper.apache.org by si...@apache.org on 2020/08/13 08:34:23 UTC

[bookkeeper] branch branch-4.11 updated: Issue #2197: bkctl binary distribution needs a 'logs' directory

This is an automated email from the ASF dual-hosted git repository.

sijie pushed a commit to branch branch-4.11
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git


The following commit(s) were added to refs/heads/branch-4.11 by this push:
     new 64972a4  Issue #2197: bkctl binary distribution needs a 'logs' directory
64972a4 is described below

commit 64972a4ebcd7b8f8a78496e17c35db46ab25ac95
Author: Nicolò Boschi <bo...@gmail.com>
AuthorDate: Thu Aug 13 10:33:57 2020 +0200

    Issue #2197: bkctl binary distribution needs a 'logs' directory
    
    Fix #2197
    
    Create "logs" directory before run bkctl cli
    
    Reviewers: Enrico Olivelli <eo...@gmail.com>, Sijie Guo <None>
    
    This closes #2389 from nicoloboschi/fix/2197/bkclt-logs, closes #2197
    
    (cherry picked from commit 1df0833a948dc7158f6b839eb61d6c1b1bc3d866)
    Signed-off-by: Sijie Guo <si...@apache.org>
---
 bin/bkctl | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bin/bkctl b/bin/bkctl
index ab18d1e..fee0526 100755
--- a/bin/bkctl
+++ b/bin/bkctl
@@ -22,6 +22,7 @@
 
 BINDIR=`dirname "$0"`
 BK_HOME=`cd ${BINDIR}/..;pwd`
+mkdir -p $BK_HOME/logs
 
 source ${BK_HOME}/bin/common.sh
 source ${BK_HOME}/conf/bk_cli_env.sh