We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 986636b commit c0ab131Copy full SHA for c0ab131
ci/scripts/java_build.sh
@@ -50,7 +50,7 @@ cp -r "${source_dir}/dev" "${build_dir}"
50
51
poms=$(find "${source_dir}" -not \( -path "${source_dir}"/build -prune \) -type f -name pom.xml)
52
if [[ "$OSTYPE" == "darwin"* ]]; then
53
- poms=$(echo "$poms" | xargs -n1 python -c "import os.path; print(os.path.relpath('{}', '${source_dir}'))")
+ poms=$(echo "$poms" | xargs -n1 python -c "import sys; import os.path; print(os.path.relpath(sys.argv[1], '${source_dir}'))")
54
else
55
poms=$(echo "$poms" | xargs -n1 realpath -s --relative-to="${source_dir}")
56
fi
0 commit comments