Skip to content
Snippets Groups Projects
Commit 9328fdc9 authored by Grégoire Kubler's avatar Grégoire Kubler Committed by Maxence Naud
Browse files

fix : better file exception takes in count AIDGE_INSTALL

parent 72b14689
No related branches found
No related tags found
1 merge request!18v0.1.3
......@@ -13,16 +13,19 @@ if [[ $AIDGE_DEPENDENCIES == "" ]]; then # case for aidge_ core
else
for repo in $AIDGE_DEPENDENCIES ; do # case for other projects
search_path=$1
REPO_PATH=$(find $search_path ! -writable -prune -o -type d \
-name "$repo" \
-not -path "*/install/*" \
-not -path "*/.git/*" \
-not -path "*/miniconda/*" \
-not -path "*/conda/*" \
-not -path "*/.local/*" \
-not -path "*/lib/*" \
-not -path "*/$repo/$repo/*" \
-not -path "*/proc/*" \
REPO_PATH=$(find $search_path ! -writable -prune -o -type d \
-name "$repo" \
-not -path "*/install/*" \
-not -path "*/.git/*" \
-not -path "*/miniconda/*" \
-not -path "*/conda/*" \
-not -path "*/.local/*" \
-not -path "*/lib/*" \
-not -path "*/lib*" \
-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."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment