Control: tags -1 + patch

The patch below got the test passing in Ubuntu.

--- a/debian/tests/run-unit-test
+++ b/debian/tests/run-unit-test
@@ -10,7 +10,7 @@
 cp /usr/share/doc/$pkg/examples/vignettes/* $ADTTMP
 find . -name "*.gz" -exec gunzip \{\} \;
 for rnw in `ls *.[rRS]nw` ; do
-rfile=`echo $rnw | sed 's/\.[rRS]nw/.R/'`
+rfile=`echo $rnw | sed 's/\.[rR]nw/.R/'`
 R --no-save <<EOT
   Stangle("$rnw")
   source("$rfile", echo=TRUE)

Reply via email to