[Bug 71008] Re: bash command type -p doesn't evaluate correctly in shell scripts

2007-01-13 Thread Albin Tonnerre
Hello, This behaviour is caused by the fact dash (which is the default /bin/sh in ubuntu) does not accept any parameter for the 'type' command, thus exiting with an error when trying to use type -p If you want this to work, you should explicitely use /bin/bash in your shebang Thanks for report

[Bug 71008] Re: bash command type -p doesn't evaluate correctly in shell scripts

2006-12-11 Thread T McCool
** Description changed: - The following shell script use to work underneath drapper but doesn't + The following shell script use to work underneath dapper but doesn't work correctly anymore underneath edgy - for some reason the bash command 'type -p' is within a script it tries to evaluate the