summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS8
-rw-r--r--lib/am/python.am2
2 files changed, 9 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index a49787d68..8d6eb3aae 100644
--- a/NEWS
+++ b/NEWS
@@ -64,6 +64,14 @@
New in ?.?.?:
+* Bugs fixed
+
+ - When cleaning the compiled python files, '\n' is not used anymore in the
+ substitution text of 'sed' transformations. This is done to preserve
+ compatibility with the 'sed' implementation provided by macOS which
+ considers '\n' as the 'n' character instead of a newline.
+ (automake bug#31222)
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
New in 1.16.1:
diff --git a/lib/am/python.am b/lib/am/python.am
index 21e6f842c..c855cddac 100644
--- a/lib/am/python.am
+++ b/lib/am/python.am
@@ -97,7 +97,7 @@ endif %?INSTALL%
if %?INSTALL%
?FIRST?am__pep3147_tweak = \
-?FIRST? sed -e 's|\.py$$||' -e 's|[^/]*$$|&.*.pyc\n&.*.pyo|'
+?FIRST? sed -e 's|\.py$$||' -e 's|[^/]*$$|&.*.pyc &.*.pyo|'
.PHONY uninstall-am: uninstall-%DIR%PYTHON
uninstall-%DIR%PYTHON: