Skip to content

Commit

Permalink
Python executables shebang: use env
Browse files Browse the repository at this point in the history
  • Loading branch information
Lestropie committed Aug 27, 2024
1 parent d591658 commit 7553ec1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/MakePythonExecutable.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 7553ec1

Please sign in to comment.