[
https://issues.apache.org/jira/browse/ZOOKEEPER-1663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13693289#comment-13693289
]
Marshall McMullen commented on ZOOKEEPER-1663:
----------------------------------------------
OK, that makes sense.
I think the best option here is to change the shebang at the top to explicitly
use bash like we are in zkServer.sh, as in:
{code}
#!/usr/bin/env bash
{code}
> scripts don't work when path contains spaces
> --------------------------------------------
>
> Key: ZOOKEEPER-1663
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1663
> Project: ZooKeeper
> Issue Type: Bug
> Components: scripts
> Affects Versions: 3.4.5
> Environment: Kubuntu 12.10 (GNU bash 4.2.37)
> Reporter: Amichai Rothman
> Priority: Minor
> Fix For: 3.5.0, 3.4.6
>
> Attachments: ZOOKEEPER-1663-ls.trunk.patch, ZOOKEEPER-1663.patch,
> ZOOKEEPER-1663.trunk.patch, ZOOKEEPER-1663.trunk.patch
>
>
> The shell scripts (bin/zk*.sh) don't work when there are spaces in the
> zookeeper or java paths.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira