]> code.ossystems Code Review - openembedded-core.git/commitdiff
icecc: Trivial simplification
authorDouglas Royds <douglas.royds@taitradio.com>
Wed, 19 Dec 2018 22:59:45 +0000 (11:59 +1300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 20 Dec 2018 13:40:17 +0000 (13:40 +0000)
Signed-off-by: Douglas Royds <douglas.royds@taitradio.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/icecc.bbclass

index b251e9b5aa7cc78f9c3e2dd29451f42478bf1b26..d8a7894887fc613c64ca8e64c8e553217147b9ef 100644 (file)
@@ -305,7 +305,7 @@ def icecc_get_and_check_tool(bb, d, tool):
     if t:
         link_path = icecc_get_tool_link(t, d)
         if link_path == get_icecc(d):
-            bb.error("%s is a symlink to %s in PATH and this prevents icecc from working" % (t, get_icecc(d)))
+            bb.error("%s is a symlink to %s in PATH and this prevents icecc from working" % (t, link_path))
             return ""
         else:
             return t