Skip to content

Commit

Permalink
Strip spaces around equals sign in pgrx config
Browse files Browse the repository at this point in the history
  • Loading branch information
syvb committed Nov 19, 2024
1 parent 61377e9 commit 6b87995
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build_scripts/shared.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 6b87995

Please sign in to comment.