texinfo-dummy: log what the invoking command was when failing

(From OE-Core rev: 9d2aa8211fff9fb06f1833066d8d0a4731cfda1c)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton
2024-09-26 16:55:20 +01:00
committed by Richard Purdie
parent 93bb2dd78e
commit deacb64c19

View 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,"