summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2016-11-02 09:45:21 +1300
committerPaul Eggleton <paul.eggleton@linux.intel.com>2016-11-02 15:29:52 +1300
commit7f61ead32f742cdc0c5ae3d6044791b1716b4269 (patch)
tree5527a6036ff7ed4bab6280ebf815eab09df386cf
parent98c6ebf1e05158c689e01b785d32757847cdb10c (diff)
downloadopenembedded-core-contrib-7f61ead32f742cdc0c5ae3d6044791b1716b4269.tar.gz
openembedded-core-contrib-7f61ead32f742cdc0c5ae3d6044791b1716b4269.tar.bz2
openembedded-core-contrib-7f61ead32f742cdc0c5ae3d6044791b1716b4269.zip
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>
-rwxr-xr-xscripts/oe-setup-builddir2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/oe-setup-builddir b/scripts/oe-setup-builddir
index 93722e08ad..e53f73c9ce 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