mirror of https://github.com/apache/kafka.git
KAFKA-3989; MINOR: follow-up: update script to run from kafka root
…h-benchmarks/jmh.sh Author: bbejeck <bbejeck@gmail.com> Reviewers: Ismael Juma <ismael@juma.me.uk>, Guozhang Wang <wangguoz@gmail.com> Closes #2654 from bbejeck/KAFKA-3989_follow_up
This commit is contained in:
parent
b01fcc3b89
commit
b6adb2dc89
|
|
@ -19,7 +19,7 @@ jmh_project_name="jmh-benchmarks"
|
|||
|
||||
if [ ${base_dir} == "." ]; then
|
||||
gradlew_dir=".."
|
||||
elif [ ${base_dir} == ${jmh_project_name} ]; then
|
||||
elif [ ${base_dir##./} == "${jmh_project_name}" ]; then
|
||||
gradlew_dir="."
|
||||
else
|
||||
echo "JMH Benchmarks need to be run from the root of the kafka repository or the 'jmh-benchmarks' directory"
|
||||
|
|
|
|||
Loading…
Reference in New Issue