diff options
author | Joshua Lock <joshua.lock@collabora.co.uk> | 2015-04-13 16:30:02 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-04-13 22:33:24 +0100 |
commit | 42131b6250ed5718bc69a80cbd732dee1e2c8db0 (patch) | |
tree | c5af51fc21a3c6d5be279bdcc664ab55cd72ce95 /oe-init-build-env | |
parent | 0fa5b047cc7ff339db40ba0615fc58b496621f37 (diff) | |
download | poky-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-x | oe-init-build-env | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oe-init-build-env b/oe-init-build-env index 52495133fd..6fee5f72a6 100755 --- a/oe-init-build-env +++ b/oe-init-build-env | |||
@@ -46,7 +46,7 @@ OEROOT=`readlink -f "$OEROOT"` | |||
46 | export OEROOT | 46 | export 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" |
50 | unset OEROOT | 50 | unset OEROOT |
51 | unset BBPATH | 51 | unset BBPATH |
52 | unset THIS_SCRIPT | 52 | unset THIS_SCRIPT |