From 3df417ded1f608b2109a479d9beda2b732c60208 Mon Sep 17 00:00:00 2001 From: Filippo Pacifici Date: Fri, 2 Jul 2021 14:49:03 -0700 Subject: [PATCH] Make wal2json copy more robust --- install/install-wal2json.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install/install-wal2json.sh b/install/install-wal2json.sh index 5ed58005e01..2ff9c177411 100644 --- a/install/install-wal2json.sh +++ b/install/install-wal2json.sh @@ -27,8 +27,8 @@ if [ ! -f "../postgres/wal2json/$VERSION/$FILE_NAME" ]; then $DOCKER_CURL -L \ "https://github.com/getsentry/wal2json/releases/download/$VERSION/$FILE_NAME" \ > "../postgres/wal2json/$VERSION/$FILE_NAME" - - cp "../postgres/wal2json/$VERSION/$FILE_NAME" "$FILE_TO_USE" -fi +fi +cp "../postgres/wal2json/$VERSION/$FILE_NAME" "$FILE_TO_USE" + echo "${_endgroup}"