aboutsummaryrefslogtreecommitdiff
path: root/oe-init-build-env
diff options
context:
space:
mode:
authorJoshua Lock <joshua.lock@collabora.co.uk>2015-04-13 16:30:02 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-04-13 22:29:04 +0100
commit0c08723cf5ebc1a7df7dc4ca36cffa090286468c (patch)
treec55b866b62e9ab53c5a924f8da1703d4360f27e1 /oe-init-build-env
parent682ab52d776d74fb5ede949505f72b4c15ae8191 (diff)
downloadopenembedded-core-0c08723cf5ebc1a7df7dc4ca36cffa090286468c.zip
openembedded-core-0c08723cf5ebc1a7df7dc4ca36cffa090286468c.tar.gz
openembedded-core-0c08723cf5ebc1a7df7dc4ca36cffa090286468c.tar.bz2
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. Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'oe-init-build-env')
-rwxr-xr-xoe-init-build-env2
1 files changed, 1 insertions, 1 deletions
diff --git a/oe-init-build-env b/oe-init-build-env
index 5249513..6fee5f7 100755
--- a/oe-init-build-env
+++ b/oe-init-build-env
@@ -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