[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: FWD: Bug#75587: debhelper uses bashisms in /bin/sh scripts



Joey Hess <joeyh@debian.org> wrote:
> I could use "test -x" rather than command, but this breaks as soon as
> any of the programs move to a new location (this has happened in the
> past). Ash supports command -v, as does bash. AFAIK, command is in 
> posix, but the -v switch may not be.

command -v is defined by POSIX.
-- 
Debian GNU/Linux 2.2 is out! ( http://www.debian.org/ )
Email:  Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



Reply to: