jiameixie opened a new pull request #8692:
URL: https://github.com/apache/kafka/pull/8692


   "#!/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.
   
   Change-Id: I733c6e31f76d768e71ac0e040a33da8f4bd8f005
   Signed-off-by: Jiamei Xie <jiamei....@arm.com>
   
   *More detailed description of your change,
   if necessary. The PR title and PR message become
   the squashed commit message, so use a separate
   comment to ping reviewers.*
   
   *Summary of testing strategy (including rationale)
   for the feature or bug fix. Unit and/or integration
   tests are expected for any behaviour change and
   system tests should be considered for larger changes.*
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   


----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to