mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-03 12:11:25 -06:00
ipa-scripts: fix all ipa command line scripts to operate with -I
Replacing -E flag to -I on all ipa python scripts except tests. Signed-off-by: Alexandre Mulatinho <alex@mulatinho.net> Related: https://pagure.io/freeipa/issue/7987 Reviewed-By: Rob Crittenden <rcritten@redhat.com> Reviewed-By: Francois Cami <fcami@redhat.com>
This commit is contained in:
parent
ffb4b624fc
commit
a38a384359
@ -1,6 +1,6 @@
|
|||||||
# special handling of Python scripts with auto-generated shebang line
|
# special handling of Python scripts with auto-generated shebang line
|
||||||
$(PYTHON_SHEBANG):%: %.in Makefile
|
$(PYTHON_SHEBANG):%: %.in Makefile
|
||||||
$(AM_V_GEN)sed -e 's|^#!/usr/bin/python3.*|#!$(PYTHON) -E|g' $< > $@
|
$(AM_V_GEN)sed -e 's|^#!/usr/bin/python3.*|#!$(PYTHON) -I|g' $< > $@
|
||||||
$(AM_V_GEN)chmod +x $@
|
$(AM_V_GEN)chmod +x $@
|
||||||
|
|
||||||
.PHONY: python_scripts_sub
|
.PHONY: python_scripts_sub
|
||||||
|
Loading…
Reference in New Issue
Block a user