]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
lib: drop unused shell variables
authorPavel Raiskup <praiskup@redhat.com>
Mon, 30 Jul 2018 13:02:35 +0000 (15:02 +0200)
committerMike Frysinger <vapier@gentoo.org>
Wed, 19 Jan 2022 03:09:08 +0000 (22:09 -0500)
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.

lib/depcomp
lib/ylwrap

index 0a06045b6e6b94bc932a4644f1aa653f2253607c..75323b7392d0b5cfb06f09b60b6807bb838258f9 100755 (executable)
@@ -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
index f76e6cfe2b6e5d4f0c4f91f1ffba8c1aed3db557..6700349becb29c75b5ed06921d2f69ddabb8baff 100755 (executable)
@@ -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]...