kou commented on code in PR #1498:
URL: https://github.com/apache/arrow-java/pull/1498#discussion_r4606289950
##########
ci/scripts/build.sh:
##########
Review Comment:
How about using `cd "${source_dir}"` to get relative path?
```suggestion
# crawl back up to the top.
poms=$(cd "${source_dir}" && find . -not \( -path ./build -prune \) -type f
-name pom.xml)
# ./dataset/pom.xml -> dataset
for source_root in $(echo "${poms}" | awk -F/ '{print $2}' | sort -u); do
```
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]