Re: FWD: Bug#75587: debhelper uses bashisms in /bin/sh scripts
>>>>> "Joey" == Joey Hess <joeyh@debian.org> writes:
Joey> I could use "test -x" rather than command, but this breaks
Joey> as soon as any of the programs move to a new location (this
Joey> has happened in the past). Ash supports command -v, as does
Joey> bash. AFAIK, command is in posix, but the -v switch may not
Joey> be.
How about 'env programname' instead of 'test -x' or 'command -v' ?
Ben
--
Brought to you by the letters B and E and the number 9.
"Nerd. Loser. Jerk. Moron. Worm. Scum. Idiot. Fool."
Debian GNU/Linux maintainer of Gimp and GTK+ -- http://www.debian.org/
Reply to: