]> code.ossystems Code Review - openembedded-core.git/commitdiff
oe-setup-builddir: fix TEMPLATECONF error message
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Wed, 2 Nov 2016 02:31:04 +0000 (15:31 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 6 Nov 2016 23:35:22 +0000 (23:35 +0000)
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>
scripts/oe-setup-builddir

index 93722e08adb8d0f2c47f939188f9cf6bc159c8a1..e53f73c9ce0156aca983d293d04908f2b74fa76f 100755 (executable)
@@ -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