archive mirror
 help / color / mirror / Atom feed
From: Ujjwal Kumar <>
To: Lukas Bulwahn <>
Subject: [Linux-kernel-mentees] [PATCH RFC] comedi: kbuild: use interpreters to invoke scripts
Date: Fri, 2 Oct 2020 01:14:43 +0530	[thread overview]
Message-ID: <> (raw)

We cannot rely on execute bits to be set on files in the repository.
The build script should use the explicit interpreter when invoking any
script from the repository.


Suggested-by: Andrew Morton <>
Suggested-by: Kees Cook <>
Suggested-by: Lukas Bulwahn <>
Signed-off-by: Ujjwal Kumar <>
 drivers/staging/comedi/drivers/ni_routing/tools/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/comedi/drivers/ni_routing/tools/Makefile b/drivers/staging/comedi/drivers/ni_routing/tools/Makefile
index 6e92a06a44cb..1d4635320fdb 100644
--- a/drivers/staging/comedi/drivers/ni_routing/tools/Makefile
+++ b/drivers/staging/comedi/drivers/ni_routing/tools/Makefile
@@ -42,14 +42,14 @@ convert_c_to_py
 csv-files :
-	./
+	$(PYTHON3) ./
 csv-blank :
-	./
+	$(PYTHON3) ./
 	@echo New blank csv signal table in csv/blank_route_table.csv
 c-files :
-	./ --route_values --device_routes
+	$(PYTHON3) ./ --route_values --device_routes
 ROUTE_VALUES_SRC=$(wildcard ../ni_route_values/*.c)
 DEVICE_ROUTES_SRC=$(wildcard ../ni_device_routes/*.c)

Linux-kernel-mentees mailing list

                 reply	other threads:[~2020-10-01 19:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).