From bdb5a6a5b3c31ed44bed8321f5febb6a09dfb9f2 Mon Sep 17 00:00:00 2001 From: Christopher Larson Date: Thu, 21 Apr 2016 08:45:41 -0700 Subject: recipetool.newappend: fix syntax error for 'not path_ok' error Signed-off-by: Christopher Larson Signed-off-by: Ross Burton --- scripts/lib/recipetool/newappend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/lib/recipetool') diff --git a/scripts/lib/recipetool/newappend.py b/scripts/lib/recipetool/newappend.py index bdf0693ec7..4fbb40a358 100644 --- a/scripts/lib/recipetool/newappend.py +++ b/scripts/lib/recipetool/newappend.py @@ -81,7 +81,7 @@ def newappend(args): return 1 if not path_ok: - logger.warn('Unable to determine correct subdirectory path for bbappend file - check that what %s adds to BBFILES also matches .bbappend files. Using %s for now, but until you fix this the bbappend will not be applied.', os.path.join(destlayerdir, 'conf', 'layer.conf'), os.path.dirname(appendpath)) + logger.warn('Unable to determine correct subdirectory path for bbappend file - check that what %s adds to BBFILES also matches .bbappend files. Using %s for now, but until you fix this the bbappend will not be applied.', os.path.join(args.destlayer, 'conf', 'layer.conf'), os.path.dirname(append_path)) layerdirs = [os.path.abspath(layerdir) for layerdir in rd.getVar('BBLAYERS', True).split()] if not os.path.abspath(args.destlayer) in layerdirs: -- cgit v1.2.3