diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2016-11-02 15:31:04 +1300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-11-06 23:35:22 +0000 |
commit | 61adaaa4348c670769f8750223977dbefe369ffb (patch) | |
tree | 762d308902f038bd912c8d0a6e735ca5492ead82 | |
parent | 1ee39c2fdac1afdb9e1ebec7dcd448d997487a23 (diff) | |
download | openembedded-core-contrib-61adaaa4348c670769f8750223977dbefe369ffb.tar.gz |
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@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
-rwxr-xr-x | scripts/oe-setup-builddir | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/oe-setup-builddir b/scripts/oe-setup-builddir index 93722e08adb..e53f73c9ce0 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 |