From 6b879953d32278050b69d2e276830ad5c8e427eb Mon Sep 17 00:00:00 2001 From: syvb Date: Tue, 19 Nov 2024 13:07:31 -0500 Subject: [PATCH] Strip spaces around equals sign in pgrx config --- build_scripts/shared.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build_scripts/shared.sh b/build_scripts/shared.sh index 486db1fc..4234119e 100644 --- a/build_scripts/shared.sh +++ b/build_scripts/shared.sh @@ -214,6 +214,8 @@ cargo_pgrx_init() { error "failed cargo $pgrx_cmd init ${args[*]} ($err)" return $err fi + # The build script in Toolkit versions <= 1.19.0 assumes that there aren't any spaces between pgXX and = + sed -i 's/ *= */=/g' /home/postgres/.$pgrx_cmd/config.toml return 0 }