From 78b0ebed4ed15cf08144749c8c70a55562b587d0 Mon Sep 17 00:00:00 2001 From: jazkamer Date: Wed, 22 Nov 2023 13:55:57 +0200 Subject: [PATCH] fix --- .github/workflows/func-tests.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/func-tests.yaml b/.github/workflows/func-tests.yaml index 0b89e34..043bf39 100644 --- a/.github/workflows/func-tests.yaml +++ b/.github/workflows/func-tests.yaml @@ -54,18 +54,18 @@ jobs: echo -e "Generating Input Grep Command: ${green}OK${nc}" echo -e "Updating Paths And Grep Command If Wallet Is Distributed" - if $(echo "${input_path}" | grep "distributed"); then - input_path="${input_path}/test1" + if [[ echo "${input_path}" | grep "distributed" ]]; then + input_path="$input_path/test1" input_grep="Composite public key:" fi - if $(echo "${output_path}" | grep "distributed"); then - output_path="${output_path}/test1" + if [[ echo "${output_path}" | grep "distributed" ]]; then + output_path="$output_path/test1" ouput_grep="Composite public key:" fi echo -e "Updating Paths And Grep Command If Wallet Is Distributed: ${green}OK${nc}" echo -e "${green}Input Path | Input Grep:${nc} [$input_path] [$input_grep]" - echo -e "${green}Output Path | Input Grep:${nc}" [$output_path] [$output_grep]" + echo -e "${green}Output Path | Input Grep:${nc} [$output_path] [$output_grep]" echo -e "Getting Wallets" wallets_list=$(ethdo wallet list --base-dir "$input_path" | tr '\n' ' ')