]> git.alsa-project.org Git - alsa-utils.git/commit
alsaconf: use 'type -p', not which
authorPhilippe De Muyter <phdm@macqel.be>
Fri, 6 Jun 2008 10:25:22 +0000 (12:25 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 6 Jun 2008 10:25:22 +0000 (12:25 +0200)
commit07ca0dd40b798c48cd55e1921e7fc6c4be3985ce
tree4b31eaf6bae6af2be74639bc1d943d07ddfde8c7
parent8fc2c39dc81f1112a669ca1ad9985d9c0bc92d75
alsaconf:  use 'type -p', not which

Here is a small patch for alsaconf, which removes an useless dependency
on `which' by using a bash built-in instead : `type -p'.  I encountered
the problem of the missing `which' while using alsaconf on a clfs-built
linux system.  It is useless to install `which' when we already have
`type -p', and alsaconf already needs bash, so this does not replace
a dependency by another one, but really removes a dependency for alsaconf.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
alsaconf/alsaconf.in