On Tuesday, 25. September 2007, Donnie Berkholz wrote: > On 20:04 Mon 24 Sep , Doug Goldstein (cardoe) wrote: > > if ! use usb; then > > sed -i util/Makefile \ > > -e '/ttusb_dec_reset/d' \ > > -e '/dib3000-watch/d' > > fi > > > > # do not compile test-progs > > sed -i Makefile -e '/-C test/d' > > You might want to die if these seds fail.
I already wondered a while back: sed only fails if the file does not exist, but not if there was no replacement. Is there any way to force it to? Regards, Robert
signature.asc
Description: This is a digitally signed message part.