[oe-commits] [openembedded-core] 69/83: oe-setup-builddir: fix TEMPLATECONF error message

git at git.openembedded.org git at git.openembedded.org
Sun Nov 6 23:37:21 UTC 2016


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

commit 61adaaa4348c670769f8750223977dbefe369ffb
Author: Paul Eggleton <paul.eggleton at linux.intel.com>
AuthorDate: Wed Nov 2 15:31:04 2016 +1300

    oe-setup-builddir: fix TEMPLATECONF error message
    
    This directory shouldn't contain local.conf and bblayers.conf - just
    templates for them; except it doesn't have to contain those, it just has
    to exist to pass this test. Change the error message accordingly, and
    mention TEMPLATECONF so that the user has at least some context.
    
    Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 scripts/oe-setup-builddir | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/oe-setup-builddir b/scripts/oe-setup-builddir
index 93722e0..e53f73c 100755
--- a/scripts/oe-setup-builddir
+++ b/scripts/oe-setup-builddir
@@ -61,7 +61,7 @@ if [ -n "$TEMPLATECONF" ]; then
             TEMPLATECONF="$OEROOT/$TEMPLATECONF"
         fi
         if [ ! -d "$TEMPLATECONF" ]; then
-            echo >&2 "Error: '$TEMPLATECONF' must be a directory containing local.conf & bblayers.conf"
+            echo >&2 "Error: TEMPLATECONF value points to nonexistent directory '$TEMPLATECONF'"
             exit 1
         fi
     fi

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


More information about the Openembedded-commits mailing list