On Wednesday 13 August 2008, Per Andersson wrote: > On Wed, Aug 13, 2008 at 12:51 AM, Frans Pop <[EMAIL PROTECTED]> wrote: > > On Tuesday 12 August 2008, Samuel Thibault wrote: > >> Here is an corrected patch > > > > Looks fine to me. > > Shouldn't there be a left bracket after the &&? > (It's missing in several places.) > > if [ $$outfile == menu.cfg ] && $$MENU_BEEP ]; then
Looks like a mix between wanting to execute $$MENU_BEEP (as true/false) and testing for a value. Please do NOT try to execute it. Better to just use 0/1 as values and only test for '= 1' (or test for set/unset, not sure what is more common).
signature.asc
Description: This is a digitally signed message part.