From d727085c98303af6bf4d099b85f9ac39116822b2 Mon Sep 17 00:00:00 2001 From: Alexandr Savca Date: Wed, 24 Jan 2024 01:04:04 +0200 Subject: [PATCH] pkglint: parse_options(): downcase local vars --- pkglint | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkglint b/pkglint index 078e45b..394d48a 100755 --- a/pkglint +++ b/pkglint @@ -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" ;;