Minor clean up of bashism

Minor clean up of bashism, replaced with normal test.
This commit is contained in:
Takashi Iwai 2006-03-13 19:40:25 +00:00
parent 52aeaa557f
commit 21d5bed81f

View file

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