Silence warning SC2021 from shellcheck.

* config.guess (*:GNU/*:*:*): Use [:upper:] and [:lower:] classes
	instead of [A-Z] and [a-z]. Putting [] around character ranges in
	tr is a mistake anyway, as it includes square brackets in the
	translation.
This commit is contained in:
Ben Elliston 2016-04-02 13:19:03 +11:00
parent ff434509fc
commit 706fbe57e3
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,11 @@
2016-04-02 Ben Elliston <bje@gnu.org>
Silence warning SC2021 from shellcheck.
* config.guess (*:GNU/*:*:*): Use [:upper:] and [:lower:] classes
instead of [A-Z] and [a-z]. Putting [] around character ranges in
tr is a mistake anyway, as it includes square brackets in the
translation.
2016-04-02 Ben Elliston <bje@gnu.org>
Silence warning SC2116 from shellcheck.

2
config.guess vendored
View File

@ -900,7 +900,7 @@ EOF
exit ;;
*:GNU/*:*:*)
# other systems with GNU libc and userland
echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr '[A-Z]' '[a-z]'``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC}
echo ${UNAME_MACHINE}-unknown-`echo ${UNAME_SYSTEM} | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"``echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`-${LIBC}
exit ;;
i*86:Minix:*:*)
echo ${UNAME_MACHINE}-pc-minix