From 624815e5b1d686787f022c6e1b593e9fd549d54e Mon Sep 17 00:00:00 2001 From: decentral1se Date: Mon, 5 Jul 2021 23:14:20 +0200 Subject: [PATCH] Use global ignore and avoid this hack --- abra | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/abra b/abra index 0550500..1419db4 100755 --- a/abra +++ b/abra @@ -1,5 +1,7 @@ #!/usr/bin/env bash +# shellcheck disable=SC2154 + GIT_URL="https://git.autonomic.zone/coop-cloud/" ABRA_APPS_URL="https://apps.coopcloud.tech" ABRA_DIR="${ABRA_DIR:-$HOME/.abra}" @@ -2562,18 +2564,6 @@ sub_network() { abra() { require_bash_4 - # TODO (3wc): we either need to do this, or add 'shellcheck disable' all over - # the place to handle the dynamically-defined vars - declare abra___stack abra___env abra__command_ abra__args_ \ - abra__secret_ abra__version_ abra__data_ abra___user abra__host_ \ - abra__type_ abra__port_ abra__user_ abra__service_ abra__src_ abra__dst_ \ - abra___server abra___domain abra___pass abra___secrets abra___status \ - abra___no_tty abra___app_name abra__subcommands_ abra___skip_update \ - abra___skip_check abra__backup_file_ abra___verbose abra___debug \ - abra___help abra___branch abra___volumes abra__provider_ abra___type \ - abra___dev abra___update abra___no_prompt abra___force \ - abra__recipe_ abra___fast abra__volume_ abra___bump abra___chaos - if ! type tput > /dev/null 2>&1; then tput() { echo -n