Skip to content

Commit

Permalink
add condition for pg11 check to not skip relink
Browse files Browse the repository at this point in the history
  • Loading branch information
idanovinda committed Aug 29, 2023
1 parent 0ef1bea commit b262e8f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions postgres-appliance/build_scripts/base.sh
Original file line number Diff line number Diff line change
Expand Up @@ -281,10 +281,11 @@ if [ "$DEMO" != "true" ]; then
if [ "$v1" = "$v2" ]; then
started=1
elif [ $started = 1 ]; then
for d1 in extension contrib contrib/postgis-$POSTGIS_VERSION; do
if [ "${v1##*/}" = "11" ] && [ "$d1" = "contrib/postgis-$POSTGIS_VERSION" ]; then
continue
fi

used_postgis_version=$POSTGIS_VERSION
if [ "${v1##*/}" = "11" ]; then used_postgis_version=$POSTGIS_LEGACY; fi

for d1 in extension contrib contrib/postgis-$used_postgis_version; do
cd "$v1/$d1"
d2="$d1"
d1="../../${v1##*/}/$d1"
Expand Down

0 comments on commit b262e8f

Please sign in to comment.