From 7553ec13de63b60a69b65d6d431bf7af9008ca18 Mon Sep 17 00:00:00 2001 From: Robert Smith Date: Fri, 16 Aug 2024 11:53:59 +1000 Subject: [PATCH] Python executables shebang: use env --- cmake/MakePythonExecutable.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/MakePythonExecutable.cmake b/cmake/MakePythonExecutable.cmake index b20cbbb878..d23e3ea792 100644 --- a/cmake/MakePythonExecutable.cmake +++ b/cmake/MakePythonExecutable.cmake @@ -4,7 +4,7 @@ # - OUTPUT_DIR: Directory in which to create the executable set(BINPATH_CONTENTS - "#!/usr/bin/python3\n" + "#!/usr/bin/env python3\n" "# -*- coding: utf-8 -*-\n" "\n" "import importlib\n"