Skip to content

Commit

Permalink
KAFKA-3989; MINOR: follow-up: update script to run from kafka root
Browse files Browse the repository at this point in the history
…h-benchmarks/jmh.sh

Author: bbejeck <[email protected]>

Reviewers: Ismael Juma <[email protected]>, Guozhang Wang <[email protected]>

Closes apache#2654 from bbejeck/KAFKA-3989_follow_up
  • Loading branch information
bbejeck authored and guozhangwang committed Aug 26, 2017
1 parent b01fcc3 commit b6adb2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jmh-benchmarks/jmh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit b6adb2d

Please sign in to comment.