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

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



On 26-Oct-2000 Joey Hess 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.
> 

geisha [~] $ ash
\h [\w] \$ command -v ash
/bin/ash
\h [\w] \$ type command
command is a shell builtin

If people would bother to do their homework before submitting bugs ......




Reply to: