]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
texinfo-dummy: log what the invoking command was when failing
authorRoss Burton <ross.burton@arm.com>
Thu, 26 Sep 2024 15:55:20 +0000 (16:55 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 30 Sep 2024 16:07:14 +0000 (17:07 +0100)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/texinfo-dummy-native/texinfo-dummy/template.py

index 86c7c1811a6c28794d75bed9e8bfac637abb1e92..4de5bb8f41bc75af11687f54b6fdd1d700cd0493 100644 (file)
@@ -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,"