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