Skip to contentSkip to conversation

reduce execs by four, and eliminate a logic bug

DISCUSSION GitHub pull_request - opened 1 participant 1 message Apr 29, 2023 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

alsa-project/alsa-utils pull request #207 was opened from wileyhy:

Per info uname, uname always prints its data in the same order. Also, from [SC2015](https://www.shellcheck.net/wiki/SC2015),

Quoted 1 line

"Note that A && B || C is not if-then-else. C may run when A is true."

set -x; read -r KERNEL_VERSION < <(uname -v); smp=x; [[ "$KERNEL_VERSION" = SMP ]] && { smp=y; readonly smp; false;} || smp=n; set -

Request URL : https://github.com/alsa-project/alsa-utils/pull/207
Patch URL : https://github.com/alsa-project/alsa-utils/pull/207.patch
Repository URL: https://github.com/alsa-project/alsa-utils