]> code.ossystems Code Review - openembedded-core.git/commitdiff
oe-buildenv-internal: hint at specifying bitbake path in error message
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Thu, 11 Aug 2016 04:37:34 +0000 (16:37 +1200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 17 Aug 2016 09:32:00 +0000 (10:32 +0100)
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@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
scripts/oe-buildenv-internal

index 03dc50ff91e4c710db535bef212380b3760264ec..9fae3b4ec3fb266f205e073b4ac8a2ee2a1251c7 100755 (executable)
@@ -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