From 0c08723cf5ebc1a7df7dc4ca36cffa090286468c Mon Sep 17 00:00:00 2001 From: Joshua Lock Date: Mon, 13 Apr 2015 16:30:02 +0100 Subject: 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 Signed-off-by: Richard Purdie --- oe-init-build-env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'oe-init-build-env') 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"` 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 -- cgit 1.2.3-korg