mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-10 04:55:41 +01:00
Minor clean up of bashism
Minor clean up of bashism, replaced with normal test.
This commit is contained in:
parent
52aeaa557f
commit
21d5bed81f
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ fi
|
|||
|
||||
for prog in lspci lsmod; do
|
||||
for path in /sbin /usr/sbin /bin /usr/bin;do
|
||||
[[ -x $path/$prog ]] && eval $prog=$path/$prog
|
||||
test -x $path/$prog && eval $prog=$path/$prog
|
||||
done
|
||||
done
|
||||
unset prog path
|
||||
|
|
Loading…
Reference in a new issue