Skip to content

Commit

Permalink
scripts: enable checks for unassigned uppercase (freifunk-gluon#3302)
Browse files Browse the repository at this point in the history
As almost all variables are upper-case and do not follow the intention of
koalaman/shellcheck#1037 (comment)
include checks for unassigned upper-case variables.
  • Loading branch information
grische authored Jul 27, 2024
1 parent 93b600a commit e3139b5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/container.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
# shellcheck enable=check-unassigned-uppercase

set -euo pipefail

Expand All @@ -21,4 +22,3 @@ else
echo "Please install either podman or docker. Exiting" >&2
exit 1
fi

1 change: 1 addition & 0 deletions scripts/patch.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
# shellcheck enable=check-unassigned-uppercase

set -e
shopt -s nullglob
Expand Down
1 change: 1 addition & 0 deletions scripts/update-modules.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env bash
# shellcheck enable=check-unassigned-uppercase

set -eo pipefail

Expand Down
1 change: 1 addition & 0 deletions scripts/update-patches.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
# shellcheck enable=check-unassigned-uppercase

set -e
shopt -s nullglob
Expand Down

0 comments on commit e3139b5

Please sign in to comment.