Skip to content

Commit c3556f6

Browse files
committed
Port regress-python3-mangle.mk to Solaris "sed".
It doesn't support "\(foo\)*" like a POSIX "sed" implementation does; see the Autoconf manual. Back-patch to 9.6 (all supported versions).
1 parent b1df6b6 commit c3556f6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/pl/plpython/regress-python3-mangle.mk

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,10 @@ pgregress-python3-mangle:
2323
-e "s/def next/def __next__/g" \
2424
-e "s/LANGUAGE plpythonu/LANGUAGE plpython3u/g" \
2525
-e "s/LANGUAGE plpython2u/LANGUAGE plpython3u/g" \
26-
-e "s/EXTENSION \([^ ]*_\)*plpythonu/EXTENSION \1plpython3u/g" \
27-
-e "s/EXTENSION \([^ ]*_\)*plpython2u/EXTENSION \1plpython3u/g" \
26+
-e "s/EXTENSION plpythonu/EXTENSION plpython3u/g" \
27+
-e "s/EXTENSION plpython2u/EXTENSION plpython3u/g" \
28+
-e "s/EXTENSION \([^ ]*\)_plpythonu/EXTENSION \1_plpython3u/g" \
29+
-e "s/EXTENSION \([^ ]*\)_plpython2u/EXTENSION \1_plpython3u/g" \
2830
-e 's/installing required extension "plpython2u"/installing required extension "plpython3u"/g' \
2931
$$file >`echo $$file | sed 's,^.*/\([^/][^/]*/\)\([^/][^/]*\)$$,\1python3/\2,'` || exit; \
3032
done

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy