From 5af19e530ec76a064aea0bbc549ef79072cbb381 Mon Sep 17 00:00:00 2001 From: Andrea Bolognani Date: Mon, 20 Feb 2023 11:14:27 +0100 Subject: [PATCH] docs: Recommend better python3 shebang Python scripts should always invoked the interpreter through env(1) to ensure that they work on macOS and the BSDs, and at this point not explicitly asking for Python 3 doesn't really make sense. Signed-off-by: Andrea Bolognani Reviewed-by: Erik Skultety --- docs/hooks.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/hooks.rst b/docs/hooks.rst index 9c5f3ff456..9387676a55 100644 --- a/docs/hooks.rst +++ b/docs/hooks.rst @@ -78,7 +78,7 @@ or: :: - #!/usr/bin/python + #!/usr/bin/env python3 Other command interpreters are equally valid, as is any executable binary, so you are welcome to use your favourite languages.