Skip to content

Commit

Permalink
ipa-scripts: fix all ipa command line scripts to operate with -I
Browse files Browse the repository at this point in the history
Replacing -E flag to -I on all ipa python scripts except tests.

Signed-off-by: Alexandre Mulatinho <[email protected]>
Related: https://pagure.io/freeipa/issue/7987
Reviewed-By: Rob Crittenden <[email protected]>
Reviewed-By: Francois Cami <[email protected]>
  • Loading branch information
mulatinho authored and rcritten committed Sep 19, 2019
1 parent ffb4b62 commit a38a384
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.pythonscripts.am
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# special handling of Python scripts with auto-generated shebang line
$(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 $@

.PHONY: python_scripts_sub
Expand Down

0 comments on commit a38a384

Please sign in to comment.