From 3dd1b9027ee04c6cd39559e548871615b1ef903e Mon Sep 17 00:00:00 2001 From: Lawrence Mitchell Date: Fri, 11 Nov 2022 11:06:07 +0000 Subject: [PATCH] Don't rely on GNU find in headers_test.sh --- ci/checks/headers_test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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=$?