[elbe-devel] [PATCH 2/2] debian: fix lintian overrides for toolchain-shar-extract.sh.mako
Thomas Weißschuh
thomas.weissschuh at linutronix.de
Fri May 3 13:09:53 CEST 2024
Use the correct syntax for lintian overides.
Also deduplicate the comment.
Fixes the following warnings/errors:
W: python3-elbe-buildenv: mismatched-override script-not-executable usr/lib/python3/dist-packages/elbepack/makofiles/toolchain-shar-extract.sh.mako [usr/share/lintian/overrides/python3-elbe-buildenv:4]
W: python3-elbe-buildenv: mismatched-override shell-script-fails-syntax-check usr/lib/python3/dist-packages/elbepack/makofiles/toolchain-shar-extract.sh.mako [usr/share/lintian/overrides/python3-elbe-buildenv:2]
W: python3-elbe-buildenv: script-not-executable [usr/lib/python3/dist-packages/elbepack/makofiles/toolchain-shar-extract.sh.mako]
E: python3-elbe-buildenv: shell-script-fails-syntax-check [usr/lib/python3/dist-packages/elbepack/makofiles/toolchain-shar-extract.sh.mako]
Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
---
debian/python3-elbe-buildenv.lintian-overrides | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/debian/python3-elbe-buildenv.lintian-overrides b/debian/python3-elbe-buildenv.lintian-overrides
index af85ad2e5212..1101ae17ae1e 100644
--- a/debian/python3-elbe-buildenv.lintian-overrides
+++ b/debian/python3-elbe-buildenv.lintian-overrides
@@ -1,4 +1,3 @@
# The shell script is a template
-python3-elbe-buildenv: shell-script-fails-syntax-check usr/lib/python3/dist-packages/elbepack/makofiles/toolchain-shar-extract.sh.mako
-# The shell script is a template
-python3-elbe-buildenv: script-not-executable usr/lib/python3/dist-packages/elbepack/makofiles/toolchain-shar-extract.sh.mako
+shell-script-fails-syntax-check [usr/lib/python3/dist-packages/elbepack/makofiles/toolchain-shar-extract.sh.mako]
+script-not-executable [usr/lib/python3/dist-packages/elbepack/makofiles/toolchain-shar-extract.sh.mako]
--
2.45.0
More information about the elbe-devel
mailing list