diff --git a/.gitlab/ci/cibuildwheel_build_deps_before_build_wheel.sh b/.gitlab/ci/cibuildwheel_build_deps_before_build_wheel.sh index a73ec4019cd06a84a9d34ed09d0b1c920470f1e6..e621675c67832c9c6301ed1322c290f4f4c00716 100644 --- a/.gitlab/ci/cibuildwheel_build_deps_before_build_wheel.sh +++ b/.gitlab/ci/cibuildwheel_build_deps_before_build_wheel.sh @@ -15,6 +15,7 @@ else search_path=$1 REPO_PATH=$(find $search_path ! -writable -prune -o -type d \ -name "$repo" \ + -not -path "*${AIDGE_INSTALL//"../"}*" \ -not -path "*/install/*" \ -not -path "*/.git/*" \ -not -path "*/miniconda/*" \ @@ -25,7 +26,6 @@ else -not -path "*/INSTALL*" \ -not -path "*/$repo/$repo/*" \ -not -path "*/proc/*" \ - -not -path "*${AIDGE_INSTALL//"../"}*" \ -print -quit) if [[ -z "$REPO_PATH" ]]; then echo "ERROR : dependency $repo not found in search_path \"$search_path\". ABORTING."