summaryrefslogtreecommitdiffstats
path: root/oe-init-build-env
diff options
context:
space:
mode:
authorJoshua Lock <joshua.lock@collabora.co.uk>2015-04-13 15:30:02 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-04-13 21:33:24 (GMT)
commit42131b6250ed5718bc69a80cbd732dee1e2c8db0 (patch)
treec5af51fc21a3c6d5be279bdcc664ab55cd72ce95 /oe-init-build-env
parent0fa5b047cc7ff339db40ba0615fc58b496621f37 (diff)
downloadpoky-42131b6250ed5718bc69a80cbd732dee1e2c8db0.tar.gz
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>
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"`
46export OEROOT 46export OEROOT
47. $OEROOT/scripts/oe-buildenv-internal && \ 47. $OEROOT/scripts/oe-buildenv-internal && \
48 $OEROOT/scripts/oe-setup-builddir && \ 48 $OEROOT/scripts/oe-setup-builddir && \
49 [ -n "$BUILDDIR" ] && cd $BUILDDIR 49 [ -n "$BUILDDIR" ] && cd "$BUILDDIR"
50unset OEROOT 50unset OEROOT
51unset BBPATH 51unset BBPATH
52unset THIS_SCRIPT 52unset THIS_SCRIPT