mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-09-19 01:29:59 +02:00
37e396cab4
Per `info uname`, `uname` always prints its data in the same order. Also, "note that A && B || C is not if-then-else. C may run when A is true." https://www.shellcheck.net/wiki/SC2015 set -x; read -r KERNEL_VERSION < <(uname -v); smp=x; \ [[ "$KERNEL_VERSION" = *SMP* ]] && \ { smp=y; readonly smp; false;} || smp=n; set - ... https://github.com/koalaman/shellcheck Fixes: https://github.com/alsa-project/alsa-utils/pull/207 From: wileyhy @ github Signed-off-by: Jaroslav Kysela <perex@perex.cz> |
||
---|---|---|
.. | ||
alsa-info.sh | ||
alsa-info.sh.1 | ||
Makefile.am |