Messages in this thread | | | Date | Sun, 27 Jan 2008 13:35:14 +0100 | From | Ingo Molnar <> | Subject | Re: X fails to start with latest Linus git |
| |
* Kevin Winchester <kjwinchester@gmail.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
| |