Re: X fails to start with latest Linus git

From: Kevin Winchester
Date: Sun Jan 27 2008 - 18:08:25 EST


On Sun, 27 Jan 2008 13:35:14 +0100
Ingo Molnar <mingo@xxxxxxx> wrote:

>
> * Kevin Winchester <kjwinchester@xxxxxxxxx> wrote:
>
> > although it is not complete. For some reason (xubuntu, probably) dash
> > is my default shell and it does not like the for loop at line 69 of
> > that script:
> >
> > for ((i=0; i<5; i++)); do
> > echo "-- sched_debug #$i: --" >> $FILE
> > date >> $FILE
> > cat /proc/sched_debug >> $FILE 2>/dev/null
> > sleep 1
> > done
> >
> > Not being a shell scripter, I have no idea how to port that to dash.
>
> oops, stick this to the top of the script:
>
> #!/bin/bash
>
> as that loop is a bashism. (I've updated the script on my site as well.)
>
> Ingo

Here is the updated script run without the missing info:


http://personal.nbnet.nb.ca/kwin/cfs-debug-info-2008.01.27-19.04.50


--
Kevin Winchester <kjwinchester@xxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/