[oe-commits] [openembedded-core] 17/62: oe-buildenv-internal: hint at specifying bitbake path in error message

git at git.openembedded.org git at git.openembedded.org
Wed Aug 17 09:36:34 UTC 2016


rpurdie pushed a commit to branch master
in repository openembedded-core.

commit 5a1efa91a418e3206b047564d0fd6d5bac22a8d3
Author: Paul Eggleton <paul.eggleton at linux.intel.com>
AuthorDate: Thu Aug 11 16:37:34 2016 +1200

    oe-buildenv-internal: hint at specifying bitbake path in error message
    
    If you check out OE-Core and then run oe-init-build-env you get an error
    about not having bitbake checked out in a "bitbake" subdirectory,
    however it's possible to specify the bitbake path on the
    oe-init-build-env command line, so hint at that in the error message
    rather than implying it has to be in the default location.
    
    Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 scripts/oe-buildenv-internal | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/oe-buildenv-internal b/scripts/oe-buildenv-internal
index 03dc50f..9fae3b4 100755
--- a/scripts/oe-buildenv-internal
+++ b/scripts/oe-buildenv-internal
@@ -96,7 +96,7 @@ BITBAKEDIR=$(readlink -f "$BITBAKEDIR")
 BUILDDIR=$(readlink -f "$BUILDDIR")
 
 if [ ! -d "$BITBAKEDIR" ]; then
-    echo >&2 "Error: The bitbake directory ($BITBAKEDIR) does not exist!  Please ensure a copy of bitbake exists at this location"
+    echo >&2 "Error: The bitbake directory ($BITBAKEDIR) does not exist!  Please ensure a copy of bitbake exists at this location or specify an alternative path on the command line"
     return 1
 fi
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list