You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zookeeper.apache.org by nk...@apache.org on 2020/02/10 10:20:10 UTC

[zookeeper] branch branch-3.5 updated: ZOOKEEPER-3453: missing 'SET' in zkCli on windows

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

nkalmar pushed a commit to branch branch-3.5
in repository https://gitbox.apache.org/repos/asf/zookeeper.git


The following commit(s) were added to refs/heads/branch-3.5 by this push:
     new bc0a065  ZOOKEEPER-3453: missing 'SET' in zkCli on windows
bc0a065 is described below

commit bc0a065fbaa9c0e6fa77d185563573b0f114c44b
Author: 慕华 <wr...@gmail.com>
AuthorDate: Mon Feb 10 11:20:02 2020 +0100

    ZOOKEEPER-3453: missing 'SET' in zkCli on windows
    
    from #1195
    
    Author: 慕华 <wr...@gmail.com>
    
    Reviewers: Andor Molnar <an...@apache.org>, Norbert Kalmar <nk...@apache.org>
    
    Closes #1234 from wordfeng/patch-1
---
 bin/zkCli.cmd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/zkCli.cmd b/bin/zkCli.cmd
index 6faf7e6..807ffaa 100644
--- a/bin/zkCli.cmd
+++ b/bin/zkCli.cmd
@@ -17,7 +17,7 @@ REM limitations under the License.
 setlocal
 call "%~dp0zkEnv.cmd"
 
-ZOO_LOG_FILE=zookeeper-%USERNAME%-cli-%COMPUTERNAME%.log
+set ZOO_LOG_FILE=zookeeper-%USERNAME%-cli-%COMPUTERNAME%.log
 
 set ZOOMAIN=org.apache.zookeeper.ZooKeeperMain
 call %JAVA% "-Dzookeeper.log.dir=%ZOO_LOG_DIR%" "-Dzookeeper.root.logger=%ZOO_LOG4J_PROP%" "-Dzookeeper.log.file=%ZOO_LOG_FILE%" -cp "%CLASSPATH%" %ZOOMAIN% %*