From: Pavel Raiskup Date: Mon, 30 Jul 2018 13:02:35 +0000 (+0200) Subject: lib: drop unused shell variables X-Git-Tag: v1.16i~143 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5fefc4a67823c585ba1cd4654feaf21af4bde113;p=thirdparty%2Fautomake.git lib: drop unused shell variables Detected by ShellCheck. * lib/depcomp: Drop never used $digits. * lib/ylwrap: Drop --basedir and $basedir, seems like that was old C&P error from 210797967a. --- diff --git a/lib/depcomp b/lib/depcomp index 0a06045b6..75323b739 100755 --- a/lib/depcomp +++ b/lib/depcomp @@ -113,7 +113,6 @@ nl=' # These definitions help. upper=ABCDEFGHIJKLMNOPQRSTUVWXYZ lower=abcdefghijklmnopqrstuvwxyz -digits=0123456789 alpha=${upper}${lower} if test -z "$depmode" || test -z "$source" || test -z "$object"; then diff --git a/lib/ylwrap b/lib/ylwrap index f76e6cfe2..6700349be 100755 --- a/lib/ylwrap +++ b/lib/ylwrap @@ -66,10 +66,6 @@ case "$1" in echo "$0: No files given. Try '$0 --help' for more information." 1>&2 exit 1 ;; - --basedir) - basedir=$2 - shift 2 - ;; -h|--h*) cat <<\EOF Usage: ylwrap [--help|--version] INPUT [OUTPUT DESIRED]... -- PROGRAM [ARGS]...