PATCH: bad sed expression

Clint Adams schizo at debian.org
Sun Jan 5 15:55:50 CET 2003


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




More information about the bogofilter-dev mailing list