From: Ross Burton Date: Thu, 26 Sep 2024 15:55:20 +0000 (+0100) Subject: texinfo-dummy: log what the invoking command was when failing X-Git-Tag: yocto-5.2~1684 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d2aa8211fff9fb06f1833066d8d0a4731cfda1c;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git texinfo-dummy: log what the invoking command was when failing Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- 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 86c7c1811a6..4de5bb8f41b 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,"