[prev in list] [next in list] [prev in thread] [next in thread] 

List:       alsa-devel
Subject:    reduce execs by four, and eliminate a logic bug
From:       GitHub pull_request - opened <github () alsa-project ! org>
Date:       2023-04-29 3:04:31
Message-ID: 20230429030431.E2BE2F8025E () alsa1 ! perex ! cz
[Download RAW message or body]

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), 

> "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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic