mirror of https://github.com/xiph/flac
test: stop using which (#709)
`which` is an external command which isn't required by POSIX. Debian and other distributions (like Gentoo!) are looking to drop it from their base set of packages. Switch to `command -v` which is, however, POSIX. See https://lwn.net/Articles/874049/.
This commit is contained in:
parent
1c5803950e
commit
ef1e185e2c
|
@ -21,7 +21,7 @@
|
|||
|
||||
PATH="$(pwd)/../src/flac:$PATH"
|
||||
|
||||
printf "Using FLAC binary : %s\n" "$(which flac)"
|
||||
printf "Using FLAC binary : %s\n" "$(command -v flac)"
|
||||
|
||||
date="$(date "+%Y%m%dT%H%M%S")"
|
||||
fname="comp${date}.flac"
|
||||
|
|
Loading…
Reference in New Issue