[haiku-development] Re: Weird Bootscript scripting problem

  • From: Stephan Assmus <superstippi@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Wed, 22 Apr 2009 21:13:04 +0200

On 2009-04-22 at 21:00:39 [+0200], Stephan Assmus <superstippi@xxxxxx> 
wrote:
> On 2009-04-22 at 20:42:41 [+0200], François Revol <revol@xxxxxxx> wrote:
> > > On 2009-04-22 at 17:53:08 [+0200], Stephan Assmus <superstippi@xxxxxx
> > > wrote:
> > > > Could someone please have a look at this? Why does the Bootscript 
> > > > continue even if I press "Installer" in the alert?
> > 
> > Looks good to me...
> > 
> > You could try:
> > 
> >     installer=`/bin/alert "Do you wish to run the Installer or continue
> > booting to the Desktop?" "Installer" "Desktop"`
> >     /bin/alert "result: [$installer]" "ok"
> > 
> > to make sure bash doesn't insert some whitespace in the result...
> 
> Thanks, I did insert an alert before the installer code path, to make 
> sure the code path isn't taken and the problem is something else, but it 
> isn't taken. I will try your result output, that's also an idea I had 
> before I got back home, thanks!

... and the mystery is solved!


:-) Ciao,
-Stephan

Attachment: AlertResult.jpg
Description: JPEG image

Other related posts: