Browse Source

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>
master
Alexandre Mulatinho Rob Crittenden 1 year ago
parent
commit
f3814e61a0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Makefile.pythonscripts.am

+ 1
- 1
Makefile.pythonscripts.am View File

@@ -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


Loading…
Cancel
Save