URL: https://github.com/freeipa/freeipa/pull/3692
Author: rcritten
 Title: #3692: [Backport][ipa-4-8] ipa-scripts: fix python3 shebang flags on 
scripts
Action: opened

PR body:
"""
This PR was opened automatically because PR #3416 was pushed to master and 
backport to ipa-4-8 is required.
"""

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/3692/head:pr3692
git checkout pr3692
From ef31e2d67d6c684349e04ddf508b0cb438fa7892 Mon Sep 17 00:00:00 2001
From: Alexandre Mulatinho <[email protected]>
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 <[email protected]>
Related: https://pagure.io/freeipa/issue/7987
---
 Makefile.pythonscripts.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.pythonscripts.am b/Makefile.pythonscripts.am
index b76c02b6c1..328bf8b4a7 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
_______________________________________________
FreeIPA-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/[email protected]

Reply via email to