mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
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: Seung-Woo Kim <sw0312.kim@samsung.com>
This commit is contained in:
parent
b5e0e360fd
commit
e94b93d5bb
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ else
|
|||
fi
|
||||
|
||||
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}" ] && \
|
||||
{ echoerr "File '${ENV_OBJ_FILE}' not found!"; exit 1; }
|
||||
|
||||
|
|
Loading…
Reference in a new issue