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
(cherry picked from commit b6adb2dc89
)
Signed-off-by: Guozhang Wang <wangguoz@gmail.com>
This commit is contained in:
parent
1425758915
commit
fc166ff43e
|
@ -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