Skip to content
Snippets Groups Projects
Commit 3a797404 authored by Christoph Berg's avatar Christoph Berg 📡
Browse files

pg_buildext: Fix problem with substitution pattern occurring multiple times.

parent e59d4ed9
Branches nspawn
No related tags found
No related merge requests found
postgresql-common (197) UNRELEASED; urgency=medium
* dh_make_pgxs: Update Maintainer address and package URLs.
* pg_buildext: Fix problem with substitution pattern occurring multiple
times.
-- Christoph Berg <christoph.berg@credativ.de> Wed, 21 Nov 2018 12:58:20 +0100
......
......@@ -181,7 +181,7 @@ gencontrol() {
cp debian/tests/control.in $tmptestscontrol
# find words (package names) containing PGVERSION
REGEXP='[[:alnum:]-]*PGVERSION[[:alnum:]-]*'
for pkgpattern in $(egrep -wo "$REGEXP" debian/tests/control.in); do
for pkgpattern in $(egrep -wo "$REGEXP" debian/tests/control.in | sort -u); do
repl=""
# build an array of replacements separated by ,
for v in $(versions); do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment