You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2020/05/27 20:13:11 UTC

[GitHub] [kafka] cmccabe edited a comment on pull request #8692: KAFKA-10018: Change command line tools from /bin/sh to /bin/bash

cmccabe edited a comment on pull request #8692:
URL: https://github.com/apache/kafka/pull/8692#issuecomment-634914243


   Debian did make a big effort to strip bashisms out of scripts that used /bin/sh but I'm pretty sure that effectively everyone running Debian has bash installed.  I think it's almost impossible to avoid installing bash when you're using Linux.
   
   The places where I'd expect bash to be missing are the BSDs like FreeBSD, NetBSD, OpenBSD, and maybe some embedded systems.
   
   Realistically it's probably best to just make any RPMs, DEBs, docker images, etc. that we generate for Kafka respins depend on bash, and just change the scripts to use /bin/bash.  Unless we really want to test all the scripts with dash, which seems like a pain.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org