Skip to content
Snippets Groups Projects
Commit e94b93d5 authored by Seung-Woo Kim's avatar Seung-Woo Kim Committed by Tom Rini
Browse files

script: Make get_default_envs.sh script exclude tools/env


If building envtools, there is env directory in tools directory.
Mafe the get_default_envs.sh script exclude tools/env directory.

Signed-off-by: default avatarSeung-Woo Kim <sw0312.kim@samsung.com>
parent b5e0e360
No related branches found
No related tags found
No related merge requests found
...@@ -23,7 +23,7 @@ else ...@@ -23,7 +23,7 @@ else
fi fi
env_obj_file_path=$(find ${path} -path "*/env/*" -not -path "*/spl/*" \ env_obj_file_path=$(find ${path} -path "*/env/*" -not -path "*/spl/*" \
-name "${ENV_OBJ_FILE}") -not -path "*/tools/*" -name "${ENV_OBJ_FILE}")
[ -z "${env_obj_file_path}" ] && \ [ -z "${env_obj_file_path}" ] && \
{ echoerr "File '${ENV_OBJ_FILE}' not found!"; exit 1; } { echoerr "File '${ENV_OBJ_FILE}' not found!"; exit 1; }
......
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