Skip to content

Commit

Permalink
pkglint: parse_options(): downcase local vars
Browse files Browse the repository at this point in the history
  • Loading branch information
sighook committed Jan 23, 2024
1 parent e7c81a3 commit d727085
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkglint
Original file line number Diff line number Diff line change
@@ -224,11 +224,11 @@ print_version() {
}

parse_options() {
if ! _OPTS=$(getopt -a -n "$ARGV0" -l "$LOPTS" -o "$SOPTS" -- "$@"); then
if ! _opts=$(getopt -a -n "$ARGV0" -l "$LOPTS" -o "$SOPTS" -- "$@"); then
echo "Try '$ARGV0 --help' for more information." 1>&2
exit 1
fi
eval set -- "$_OPTS"; unset _OPTS
eval set -- "$_opts"; unset _opts
while true; do
case $1 in
-d| --dead-links) CHECK="$CHECK dead_links" ;;

0 comments on commit d727085

Please sign in to comment.