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

Re: is this a bashism?



On Mon, 21 Dec 1998, Marcelo E. Magallon wrote:

> #!/bin/sh -e
> 
> [ -x /usr/bin/update-menus ] && update-menus
> 
>  I've got a bug report that says it is. Ash bails out with exit status
>  1 if update-menus doesn't exist. 

Looks ok (tested on sun's /bin/sh, no bash).  Is that the whole script?

HTH,
Brandon


Reply to: