diff --git a/ci/checks/headers_test.sh b/ci/checks/headers_test.sh index 502bdca0fa7..b859009a8c5 100755 --- a/ci/checks/headers_test.sh +++ b/ci/checks/headers_test.sh @@ -10,7 +10,7 @@ DIRNAMES="cudf cudf_test" # existence tests for lib${LIBNAME} for DIRNAME in ${DIRNAMES[@]}; do - HEADERS=`cd cpp && find include/${DIRNAME}/ -type f \( -iname "*.h" -o -iname "*.hpp" \) -printf " - test -f \\\$PREFIX/%p\n" | sort` + HEADERS=`cd cpp && find include/${DIRNAME} -type f \( -iname "*.h" -o -iname "*.hpp" \) -print | sed 's|^| - test -f $PREFIX/|' | sort` META_TESTS=`grep -E "test -f .*/include/${DIRNAME}/.*\.h(pp)?" conda/recipes/lib${LIBNAME}/meta.yaml | sort` HEADER_DIFF=`diff <(echo "$HEADERS") <(echo "$META_TESTS")` LIB_RETVAL=$?