| From 0a9ab056ce7582033a21d6bc541ece520bf2b0b6 Mon Sep 17 00:00:00 2001 |
| From: Oleksiy Obitotskyy <oobitots@cisco.com> |
| 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 <oobitots@cisco.com> |
| --- |
| tools/make-plugin-reg.py | 2 +- |
| tools/ncp2222.py | 2 +- |
| 2 files changed, 2 insertions(+), 2 deletions(-) |
| |
| Index: wireshark-4.0.6/tools/ncp2222.py |
| =================================================================== |
| --- wireshark-4.0.6.orig/tools/ncp2222.py |
| +++ wireshark-4.0.6/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(""" |