[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080127123514.GA21282@elte.hu>
Date: Sun, 27 Jan 2008 13:35:14 +0100
From: Ingo Molnar <mingo@...e.hu>
To: Kevin Winchester <kjwinchester@...il.com>
Cc: Thomas Gleixner <tglx@...utronix.de>,
"H. Peter Anvin" <hpa@...or.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: X fails to start with latest Linus git
* Kevin Winchester <kjwinchester@...il.com> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists