1 |
On Tuesday 25 September 2007, Robert Buchholz wrote: |
2 |
> On Tuesday, 25. September 2007, Donnie Berkholz wrote: |
3 |
> > On 20:04 Mon 24 Sep , Doug Goldstein (cardoe) wrote: |
4 |
> > > if ! use usb; then |
5 |
> > > sed -i util/Makefile \ |
6 |
> > > -e '/ttusb_dec_reset/d' \ |
7 |
> > > -e '/dib3000-watch/d' |
8 |
> > > fi |
9 |
> > > |
10 |
> > > # do not compile test-progs |
11 |
> > > sed -i Makefile -e '/-C test/d' |
12 |
> > |
13 |
> > You might want to die if these seds fail. |
14 |
> |
15 |
> I already wondered a while back: |
16 |
> sed only fails if the file does not exist, but not if there was no |
17 |
> replacement. Is there any way to force it to? |
18 |
|
19 |
i'm fairly certain the answer is no |
20 |
-mike |