Skip to content

README.md Multi Module search didn't work

if is use:

jacoco_paths=find * -path "**/src/main/java" -type d | sed -e 's@^@'"$CI_PROJECT_DIR"'/@'

the jacoco_paths is empty, but if i use:

jacoco_paths=$(find * -type d -path "**/src/main/java" | sed -e 's@^@'"$CI_PROJECT_DIR"'/@')

it works as expected ... don't know why, i'm not a bash pro but:

says the back tick style is deprected and $() is the new way