[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-1737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13782460#comment-13782460
 ] 

Patrick Hunt commented on ZOOKEEPER-1737:
-----------------------------------------

Hi Chris, you need to run the diff from w/in the zk-3.4.5 directory (that's why 
the automation failed)

> zk scripts no longer work when symlinked
> ----------------------------------------
>
>                 Key: ZOOKEEPER-1737
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1737
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: scripts
>    Affects Versions: 3.4.5
>         Environment: RHEL6.4
>            Reporter: Chris Seawood
>            Assignee: Chris Seawood
>         Attachments: zookeeper-3.4.5-ZK1731-SC01.patch
>
>
> At some point since 3.3, the shell scripts were updated to move away from 
> using readlink to using BASH_SOURCE.  The problem is that BASH_SOURCE doesn't 
> resolve symlinks so when /usr/bin/zookeeper-cli is symlinked to 
> /usr/lib/zookeeper/bin/zkCli.sh it fails every single time.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to