Skip to content

Commit 986a8e3

Browse files
hughcapetpatagona-anas
authored andcommitted
Properly setup clean env for ext build across major versions (zalando#1174)
1 parent 49b2bc3 commit 986a8e3

File tree

1 file changed

+2
-1
lines changed
  • postgres-appliance/build_scripts

1 file changed

+2
-1
lines changed

postgres-appliance/build_scripts/base.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,8 @@ for version in $DEB_PG_SUPPORTED_VERSIONS; do
183183
pg_permissions-${PG_PERMISSIONS_COMMIT} \
184184
pg_profile-${PG_PROFILE} \
185185
"${EXTRA_EXTENSIONS[@]}"; do
186-
make -C "$n" USE_PGXS=1 clean install-strip
186+
PATH="/usr/lib/postgresql/$version/bin:$PATH" make -C "$n" USE_PGXS=1 clean
187+
PATH="/usr/lib/postgresql/$version/bin:$PATH" make -C "$n" USE_PGXS=1 install-strip
187188
done
188189
done
189190

0 commit comments

Comments
 (0)