From d9c4cdad0c48becab491ea4e80e5cd81f7d1dc97 Mon Sep 17 00:00:00 2001 From: Oleksiy Obitotskyy Date: Thu, 26 Nov 2020 05:38:31 -0800 Subject: [PATCH] wireshark-src: improve reproducibility Cut absolute path for filename in generated code comments. Upstream-Status: Pending Signed-off-by: Oleksiy Obitotskyy --- tools/ncp2222.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ncp2222.py b/tools/ncp2222.py index f14d0c5..05073b9 100755 --- a/tools/ncp2222.py +++ b/tools/ncp2222.py @@ -5891,7 +5891,7 @@ def produce_code(): print("/*") print(" * Do not modify this file. Changes will be overwritten.") - print(" * Generated automatically from %s" % (sys.argv[0])) + print(" * Generated automatically from %s" % (os.path.basename(sys.argv[0]))) print(" */\n") print("""