macOS: Set PostgreSQL_ROOT during provisioning rather than in each config

Decouples provisioning from build configurations.

Pick-to: 6.8
Change-Id: I53b0983ab8b20c40568c1b5b9a24bfe3c62cf531
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
(cherry picked from commit 7f51bdbd8d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Tor Arne Vestbø
2025-01-27 13:44:06 +01:00
committed by Qt Cherry-pick Bot
parent 55ef82de88
commit 77a614d592
4 changed files with 4 additions and 4 deletions

View File

@@ -37,5 +37,5 @@ umount "$mountpoint"
echo "Removing $packageName"
rm "/tmp/$packageName"
SetEnvVar "POSTGRESQLBINPATH" "/Applications/Postgres.app/Contents/Versions/$psqlVersion/bin"
SetEnvVar "PostgreSQL_ROOT" "/Applications/Postgres.app/Contents/Versions/$psqlVersion"
echo "PostgreSQL = $psqlVersion ($psqlAppVersion)" >> ~/versions.txt