From 30c6e97690af633ca7877e4aeba195532ec78fa0 Mon Sep 17 00:00:00 2001 From: syvb Date: Mon, 18 Nov 2024 13:44:55 -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..3e9df538 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 }