mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 12:58:44 +01:00
oe-init-build-env: fix for build dirs that have spaces in their path
Enclose expansions of BUILDDIR in quotes in order to correctly handle paths which include spaces. (From OE-Core rev: 0c08723cf5ebc1a7df7dc4ca36cffa090286468c) Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
0fa5b047cc
commit
42131b6250
@@ -46,7 +46,7 @@ OEROOT=`readlink -f "$OEROOT"`
|
||||
export OEROOT
|
||||
. $OEROOT/scripts/oe-buildenv-internal && \
|
||||
$OEROOT/scripts/oe-setup-builddir && \
|
||||
[ -n "$BUILDDIR" ] && cd $BUILDDIR
|
||||
[ -n "$BUILDDIR" ] && cd "$BUILDDIR"
|
||||
unset OEROOT
|
||||
unset BBPATH
|
||||
unset THIS_SCRIPT
|
||||
|
||||
Reference in New Issue
Block a user