On 22-Dec-98 [EMAIL PROTECTED] wrote: > Marcelo E. Magallon writes: >> #!/bin/sh -e > >> [ -x /usr/bin/update-menus ] && update-menus >
The problem with this is that ash incorrectly reads (or read) the -x. It behaves like a -f and not the intended "if it exists and is executable". It responds true for ANY file in /usr/bin, or other directories. Seems to catch the x bit from the directory and stop looking. This may be my bug report, I filed one similar against ash itself. I believe it has been fixed in ash and can safely be closed.

