From deacb64c1974a347d34948919df1d1bebe51b202 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Thu, 26 Sep 2024 16:55:20 +0100 Subject: [PATCH] texinfo-dummy: log what the invoking command was when failing (From OE-Core rev: 9d2aa8211fff9fb06f1833066d8d0a4731cfda1c) Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- .../texinfo-dummy-native/texinfo-dummy/template.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta/recipes-extended/texinfo-dummy-native/texinfo-dummy/template.py b/meta/recipes-extended/texinfo-dummy-native/texinfo-dummy/template.py index 86c7c1811a..4de5bb8f41 100644 --- a/meta/recipes-extended/texinfo-dummy-native/texinfo-dummy/template.py +++ b/meta/recipes-extended/texinfo-dummy-native/texinfo-dummy/template.py @@ -28,8 +28,7 @@ # of the executable from argv[0] and emulate the corresponding program, so # multiple copies of this script will exist under different names. -import sys, os, argparse - +import sys, argparse this_binary = sys.argv[0].split("/")[-1] @@ -38,7 +37,8 @@ stub_msg = """ This stand-in version of %s is not yet fully capable of emulating the real version from the GNU texinfo suite. If you see this message, file a bug report with details on the recipe that failed. -""" % this_binary +Invoked as %s +""" % (this_binary, sys.argv) # Autotools setups query the version, so this is actually necessary. Some of # them (lookin' at you, glibc) actually look for the substring "GNU texinfo,"