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 Sep 2, 2024
1 parent 1434c49 commit 025eb0f
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 025eb0f

Please sign in to comment.