From d7a3ed793bc0e3566a60e89871fefc621500c783 Mon Sep 17 00:00:00 2001 From: Vadim <44135514+vodemn@users.noreply.github.com> Date: Mon, 4 Mar 2024 22:36:17 +0100 Subject: [PATCH] use base64 -d --- .github/scripts/restore_from_base64.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/restore_from_base64.sh b/.github/scripts/restore_from_base64.sh index bd3daa5..cceaf66 100644 --- a/.github/scripts/restore_from_base64.sh +++ b/.github/scripts/restore_from_base64.sh @@ -11,4 +11,4 @@ if [[ ! -n "$filename" ]]; then exit 1 fi -echo -n "$content" | base64 --decode --output "$filename" +base64 -d <<< "$content" > "$filename"