HADOOP-18725. Avoid cross-platform build for irrelevant Dockerfile changes (#5610)
This commit is contained in:
parent
1079890ae3
commit
5147106b59
@ -48,7 +48,7 @@ is_platform_change() {
|
|||||||
declare in_path
|
declare in_path
|
||||||
in_path="${SOURCEDIR}"/"${1}"
|
in_path="${SOURCEDIR}"/"${1}"
|
||||||
|
|
||||||
for path in "${SOURCEDIR}"/dev-support/docker/Dockerfile* "${SOURCEDIR}"/dev-support/docker/pkg-resolver/*.json; do
|
for path in "${DOCKERFILE}" "${SOURCEDIR}"/dev-support/docker/pkg-resolver/*.json; do
|
||||||
if [ "${in_path}" == "${path}" ]; then
|
if [ "${in_path}" == "${path}" ]; then
|
||||||
echo "Found C/C++ platform related changes in ${in_path}"
|
echo "Found C/C++ platform related changes in ${in_path}"
|
||||||
return 0
|
return 0
|
||||||
|
Loading…
Reference in New Issue
Block a user