diff options
author | Case Duckworth | 2021-02-27 16:51:07 -0600 |
---|---|---|
committer | Case Duckworth | 2021-02-27 16:51:07 -0600 |
commit | 510a4433d80822728d918902b716f748c7e78994 (patch) | |
tree | 6369c841642421ddb18783230053b806a5f1f96a | |
parent | HOTFIX: actually LOAD the config file (diff) | |
download | bollux-510a4433d80822728d918902b716f748c7e78994.tar.gz bollux-510a4433d80822728d918902b716f748c7e78994.zip |
Make shellcheck happy
-rw-r--r-- | bollux | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bollux b/bollux index 697447f..ec59196 100644 --- a/bollux +++ b/bollux | |||
@@ -123,8 +123,8 @@ bollux_config() { | |||
123 | : "${BOLLUX_CONFIG:=${XDG_CONFIG_HOME:-$HOME/.config}/bollux/bollux.conf}" | 123 | : "${BOLLUX_CONFIG:=${XDG_CONFIG_HOME:-$HOME/.config}/bollux/bollux.conf}" |
124 | 124 | ||
125 | if [ -f "$BOLLUX_CONFIG" ]; then | 125 | if [ -f "$BOLLUX_CONFIG" ]; then |
126 | # shellcheck disable=1090 | ||
127 | log debug "Loading config file '$BOLLUX_CONFIG'" | 126 | log debug "Loading config file '$BOLLUX_CONFIG'" |
127 | # shellcheck disable=1090 | ||
128 | . "$BOLLUX_CONFIG" | 128 | . "$BOLLUX_CONFIG" |
129 | else | 129 | else |
130 | log debug "Can't load config file '$BOLLUX_CONFIG'." | 130 | log debug "Can't load config file '$BOLLUX_CONFIG'." |
@@ -1041,7 +1041,7 @@ extract_links() { | |||
1041 | local url alt | 1041 | local url alt |
1042 | local re="^=>[[:space:]]*([^[:space:]]+)([[:space:]]+(.*))?$" | 1042 | local re="^=>[[:space:]]*([^[:space:]]+)([[:space:]]+(.*))?$" |
1043 | while read -r; do | 1043 | while read -r; do |
1044 | log d $re | 1044 | log d "$re" |
1045 | if [[ $REPLY =~ $re ]]; then | 1045 | if [[ $REPLY =~ $re ]]; then |
1046 | url="${BASH_REMATCH[1]}" | 1046 | url="${BASH_REMATCH[1]}" |
1047 | alt="${BASH_REMATCH[3]}" | 1047 | alt="${BASH_REMATCH[3]}" |