]> git.alsa-project.org Git - alsa-utils.git/commitdiff
Minor clean up of bashism
authorTakashi Iwai <tiwai@suse.de>
Mon, 13 Mar 2006 19:40:25 +0000 (19:40 +0000)
committerTakashi Iwai <tiwai@suse.de>
Mon, 13 Mar 2006 19:40:25 +0000 (19:40 +0000)
Minor clean up of bashism, replaced with normal test.

alsaconf/alsaconf.in

index d958785a38354f2b2fd40023b7dff0c02a1fa12f..0eed9142d5f2f4b400a1ec670ee9edcda5608e77 100644 (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