File: 0004-Don-t-use-.sh-suffix-for-shell-scripts-to-adhere-to-.patch

package info (click to toggle)
rt-tests 2.6-1.1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 904 kB
  • sloc: ansic: 12,999; python: 493; makefile: 225; sh: 154
file content (24 lines) | stat: -rw-r--r-- 870 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= <u.kleine-koenig@pengutronix.de>
Date: Thu, 9 Sep 2021 14:05:33 +0900
Subject: Don't use .sh suffix for shell scripts to adhere to Policy 10.4

This fixes the linitan warning:

W: rt-tests: script-with-language-extension usr/bin/determine_maximum_mpps.sh
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index d3f27f7..7dc5844 100644
--- a/Makefile
+++ b/Makefile
@@ -211,7 +211,7 @@ rebuild:
 install: all install_manpages install_hwlatdetect install_get_cyclictest_snapshot
 	mkdir -p "$(DESTDIR)$(bindir)"
 	cp $(TARGETS) "$(DESTDIR)$(bindir)"
-	install src/queuelat/determine_maximum_mpps.sh "${DESTDIR}${bindir}"
+	install src/queuelat/determine_maximum_mpps.sh "${DESTDIR}${bindir}/determine_maximum_mpps"
 
 .PHONY: install_hwlatdetect
 install_hwlatdetect: hwlatdetect