Skip to content

Commit 84ab386

Browse files
authored
Properly setup clean env for ext build across major versions (#1174)
1 parent 6f7d064 commit 84ab386

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
@@ -187,7 +187,8 @@ for version in $DEB_PG_SUPPORTED_VERSIONS; do
187187
pg_permissions-${PG_PERMISSIONS_COMMIT} \
188188
pg_profile-${PG_PROFILE} \
189189
"${EXTRA_EXTENSIONS[@]}"; do
190-
make -C "$n" USE_PGXS=1 clean install-strip
190+
PATH="/usr/lib/postgresql/$version/bin:$PATH" make -C "$n" USE_PGXS=1 clean
191+
PATH="/usr/lib/postgresql/$version/bin:$PATH" make -C "$n" USE_PGXS=1 install-strip
191192
done
192193
done
193194

0 commit comments

Comments
 (0)