Make shellcheck happy

This commit is contained in:
Case Duckworth 2021-02-27 16:51:07 -06:00
parent c62c43499f
commit 510a4433d8
1 changed files with 2 additions and 2 deletions

4
bollux
View File

@ -123,8 +123,8 @@ bollux_config() {
: "${BOLLUX_CONFIG:=${XDG_CONFIG_HOME:-$HOME/.config}/bollux/bollux.conf}"
if [ -f "$BOLLUX_CONFIG" ]; then
# shellcheck disable=1090
log debug "Loading config file '$BOLLUX_CONFIG'"
# shellcheck disable=1090
. "$BOLLUX_CONFIG"
else
log debug "Can't load config file '$BOLLUX_CONFIG'."
@ -1041,7 +1041,7 @@ extract_links() {
local url alt
local re="^=>[[:space:]]*([^[:space:]]+)([[:space:]]+(.*))?$"
while read -r; do
log d $re
log d "$re"
if [[ $REPLY =~ $re ]]; then
url="${BASH_REMATCH[1]}"
alt="${BASH_REMATCH[3]}"