HomeSoftware Heritage

fix(install) Make wal2json copy more robust (#1024)

Description

fix(install) Make wal2json copy more robust (#1024)

There is a potential conrner case where we may end up with the wal2json library in the postgres/wal2json/VERSION/file but not in postgres/wal2json/wal2json.so.

Not sure exactly how likely this could be, but thechnically it is possible that the download succeeds and cp "../postgres/wal2json/$VERSION/$FILE_NAME" "$FILE_TO_USE" does not. The next attempt the copy would not be attempted.

This fix ensures the copy always happens

Details

Provenance
Filippo Pacifici <filippo.pacifici@gmail.com>Authored on Jul 6 2021, 11:31 AM
GitHub <noreply@github.com>Committed on Jul 6 2021, 11:31 AM
olasdPushed on Sep 2 2021, 4:39 PM
Parents
R206:66e1820087ef: build: Set master version to nightly
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed R206:d24a7b3ac6e9: fix(install) Make wal2json copy more robust (#1024) (authored by Filippo Pacifici <filippo.pacifici@gmail.com>).Jul 6 2021, 11:31 AM