From b4fc44e55bfc949cdf0830409f3c692edda05659 Mon Sep 17 00:00:00 2001 From: Matthias Gatto Date: Tue, 1 Oct 2024 15:11:42 +0200 Subject: [PATCH] remove OSC_API_JSON Signed-off-by: Matthias Gatto --- cognac_gen.sh | 2 -- helper.sh | 2 -- 2 files changed, 4 deletions(-) diff --git a/cognac_gen.sh b/cognac_gen.sh index 3794a4b..7dd9ce8 100755 --- a/cognac_gen.sh +++ b/cognac_gen.sh @@ -1,7 +1,5 @@ #!/usr/bin/env bash -OSC_API_JSON=$(cat ./osc-api.json) - CALL_LIST_FILE=./call_list CALL_LIST=$(cat $CALL_LIST_FILE) diff --git a/helper.sh b/helper.sh index ce12f17..e7ed22c 100644 --- a/helper.sh +++ b/helper.sh @@ -1,7 +1,5 @@ source ./config.sh -OSC_API_JSON=$(cat ./osc-api.json) - get_type_direct() { arg_info="$1" local direct_ref=$(jq -r '.["$ref"]' 2> /dev/null <<< $arg_info)