mirror of
https://github.com/hackacad/bastille.git
synced 2026-01-06 04:34:19 +01:00
create: Override shellcheck for sourcing variable
This commit is contained in:
@@ -691,10 +691,12 @@ while [ $# -gt 0 ]; do
|
|||||||
usage
|
usage
|
||||||
else
|
else
|
||||||
info "Using custom config: ${OPT_CONFIG}"
|
info "Using custom config: ${OPT_CONFIG}"
|
||||||
|
# shellcheck disable=SC1090
|
||||||
. /usr/local/etc/bastille/${OPT_CONFIG}
|
. /usr/local/etc/bastille/${OPT_CONFIG}
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
info "Using custom config: ${OPT_CONFIG}"
|
info "Using custom config: ${OPT_CONFIG}"
|
||||||
|
# shellcheck disable=SC1090
|
||||||
. "${OPT_CONFIG}"
|
. "${OPT_CONFIG}"
|
||||||
fi
|
fi
|
||||||
shift 2
|
shift 2
|
||||||
|
|||||||
Reference in New Issue
Block a user