Skip to content

Commit

Permalink
Replace usage of #!/usr/bin/env python3 with #!/usr/bin/python3
Browse files Browse the repository at this point in the history
Only three remaining scripts used this form, two of which are
for developers only and not shipped.

The shebang in ipa-ccache-sweeper will be converted to
"#!$(PYTHON) -I" in the build process.

Fixes: https://pagure.io/freeipa/issue/8941

Signed-off-by: Rob Crittenden <[email protected]>
Reviewed-By: Rafael Guterres Jeffman <[email protected]>
  • Loading branch information
rcritten authored and flo-renaud committed May 31, 2023
1 parent 2be0724 commit a1ed0ff
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion contrib/lite-server.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/python3
#
# Copyright (C) 2017 FreeIPA Contributors see COPYING for license
#
Expand Down
2 changes: 1 addition & 1 deletion contrib/lite-setup.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/python3
#
# Copyright (C) 2020 FreeIPA Contributors see COPYING for license
#
Expand Down
2 changes: 1 addition & 1 deletion install/tools/ipa-ccache-sweeper.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/python3

# Based heavily on
# https://github.com/gssapi/mod_auth_gssapi/blob/master/contrib/sweeper.py
Expand Down

0 comments on commit a1ed0ff

Please sign in to comment.