PATCH: bad sed expression

David Relson relson at osagesoftware.com
Sun Jan 5 16:15:41 CET 2003


  At 09:55 AM 1/5/03, Clint Adams wrote:

>I had a grftest failure, and when I tried to run the test manually, it
>mangled "bogofilter/tests" into "bogofiltests".
>
>Index: tests/t.frame
>===================================================================
>RCS file: /cvsroot/bogofilter/bogofilter/tests/t.frame,v
>retrieving revision 1.16.2.1
>diff -u -r1.16.2.1 t.frame
>--- tests/t.frame       2 Jan 2003 14:58:20 -0000       1.16.2.1
>+++ tests/t.frame       5 Jan 2003 14:52:34 -0000
>@@ -13,7 +13,7 @@
>  : ${relpath=..}
>
>  if [ -z "$RUN_FROM_MAKE" ] ; then
>-   NAME=`echo $0 | sed s at ./t.@@`
>+   NAME=`echo $0 | sed "s@\./t\.@@"`
>     DATE=`date +"%Y%m%d"`
>     TMPDIR="$NAME.$DATE"
>     rm -rf $TMPDIR
>
>---------------------------------------------------------------------
>FAQ: http://bogofilter.sourceforge.net/bogofilter-faq.html
>To unsubscribe, e-mail: bogofilter-dev-unsubscribe at aotto.com
>For summary digest subscription: bogofilter-dev-digest-subscribe at aotto.com
>For more commands, e-mail: bogofilter-dev-help at aotto.com





More information about the bogofilter-dev mailing list