You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Matthias J. Sax (Jira)" <ji...@apache.org> on 2020/05/19 20:47:00 UTC
[jira] [Updated] (KAFKA-10018) Change command line tool from
/bin/sh to /bin/bash
[ https://issues.apache.org/jira/browse/KAFKA-10018?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthias J. Sax updated KAFKA-10018:
------------------------------------
Summary: Change command line tool from /bin/sh to /bin/bash (was: Change sh to bash)
> Change command line tool from /bin/sh to /bin/bash
> ---------------------------------------------------
>
> Key: KAFKA-10018
> URL: https://issues.apache.org/jira/browse/KAFKA-10018
> Project: Kafka
> Issue Type: Bug
> Components: admin
> Reporter: jiamei xie
> Assignee: jiamei xie
> Priority: Major
>
> "#!/bin/sh" is used in kafka-server-stop.sh and zookeeper-server-stop.sh. [[ is a bash-builtin and used.
> Modern Debian and Ubuntu systems, which symlink sh to dash by default. So "[[: not found" will occur.
> Change "#!/bin/sh" into "#!/bin/bash" can avoid this error. Modify and make all scripts using bash.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)