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

chore : refactor

parent 9328fdc9
No related branches found
No related tags found
1 merge request!18v0.1.3
...@@ -15,6 +15,7 @@ else ...@@ -15,6 +15,7 @@ else
search_path=$1 search_path=$1
REPO_PATH=$(find $search_path ! -writable -prune -o -type d \ REPO_PATH=$(find $search_path ! -writable -prune -o -type d \
-name "$repo" \ -name "$repo" \
-not -path "*${AIDGE_INSTALL//"../"}*" \
-not -path "*/install/*" \ -not -path "*/install/*" \
-not -path "*/.git/*" \ -not -path "*/.git/*" \
-not -path "*/miniconda/*" \ -not -path "*/miniconda/*" \
...@@ -25,7 +26,6 @@ else ...@@ -25,7 +26,6 @@ else
-not -path "*/INSTALL*" \ -not -path "*/INSTALL*" \
-not -path "*/$repo/$repo/*" \ -not -path "*/$repo/$repo/*" \
-not -path "*/proc/*" \ -not -path "*/proc/*" \
-not -path "*${AIDGE_INSTALL//"../"}*" \
-print -quit) -print -quit)
if [[ -z "$REPO_PATH" ]]; then if [[ -z "$REPO_PATH" ]]; then
echo "ERROR : dependency $repo not found in search_path \"$search_path\". ABORTING." 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