Skip to content
Snippets Groups Projects
Commit 01fa90ad authored by Grégoire Kubler's avatar Grégoire Kubler
Browse files

fix : removed 2>/dev/null

parent b3e6ae1f
No related branches found
No related tags found
2 merge requests!93Release v0.3.0,!64Feat/release pip
Pipeline #45995 waiting for manual action
...@@ -13,19 +13,19 @@ if [[ $AIDGE_DEPENDENCIES == "" ]]; then # case for aidge_ core ...@@ -13,19 +13,19 @@ if [[ $AIDGE_DEPENDENCIES == "" ]]; then # case for aidge_ core
else else
for repo in $AIDGE_DEPENDENCIES ; do # case for other projects for repo in $AIDGE_DEPENDENCIES ; do # case for other projects
search_path=$1 search_path=$1
REPO_PATH=$(find $search_path ! -writable -prune -o \ REPO_PATH=$(find $search_path ! -writable -prune -o \
-type d -name $repo \ -type d \
-not -path '*install*' \ -name "$repo" \
-not -path '*.git*' \ -not -path "*/install/*" \
-not -path '*miniconda*' \ -not -path "*/.git/*" \
-not -path '*conda*' \ -not -path "*/miniconda/*" \
-not -path '*.local*' \ -not -path "*/conda/*" \
-not -path "*lib*" \ -not -path "*/.local/*" \
-not -path "*/$repo/$repo" \ -not -path "*/lib/*" \
-not -path "*proc" \ -not -path "*/$repo/$repo/*" \
-print -quit \ -not -path "*/proc//*" \
2> /dev/null) -print -quit)
if [[ "$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."
exit -1 exit -1
fi fi
......
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