shell: Piped output of cd to /dev/null when setting ZEPHYR_BASE.
Solves an issue where any output from the user's shell's cd command would be prepended to ZEPHYR_BASE when sourcing zephyr_env.sh. Fixes #11894. Signed-off-by: Linden Krouse <ztaticnull@gmail.com>
This commit is contained in:
parent
ab82ef4ca5
commit
7ab2827035
|
@ -44,7 +44,7 @@ else
|
|||
fi
|
||||
|
||||
# identify OS source tree root directory
|
||||
export ZEPHYR_BASE=$( builtin cd "$( dirname "$DIR" )" && pwd ${PWD_OPT})
|
||||
export ZEPHYR_BASE=$( builtin cd "$( dirname "$DIR" )" > /dev/null && pwd ${PWD_OPT})
|
||||
unset PWD_OPT
|
||||
|
||||
scripts_path=${ZEPHYR_BASE}/scripts
|
||||
|
|
Loading…
Reference in a new issue