From a38a38435991e81970a4da2cf69382a1f8cc6cf4 Mon Sep 17 00:00:00 2001 From: Alexandre Mulatinho Date: Thu, 18 Jul 2019 13:07:58 -0300 Subject: [PATCH] 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 Related: https://pagure.io/freeipa/issue/7987 Reviewed-By: Rob Crittenden Reviewed-By: Francois Cami --- Makefile.pythonscripts.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.pythonscripts.am b/Makefile.pythonscripts.am index b76c02b6c..328bf8b4a 100644 --- a/Makefile.pythonscripts.am +++ b/Makefile.pythonscripts.am @@ -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