diff tests/test-mq-qimport @ 7273:84f807918864

'\' should be escaped twice, for the shell, and for tr
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Tue, 28 Oct 2008 08:18:11 +0100
parents 9105467b8167
children 4c4324476be6
line wrap: on
line diff
--- a/tests/test-mq-qimport	Tue Oct 28 00:03:28 2008 +0100
+++ b/tests/test-mq-qimport	Tue Oct 28 08:18:11 2008 +0100
@@ -35,7 +35,7 @@
 rm foo
 # Under unix: file:///foobar/blah
 # Under windows: file:///c:/foobar/blah
-patchurl=`echo $HGTMP/url.diff | tr '\\' /`
+patchurl=`echo $HGTMP/url.diff | tr '\\\\' /`
 expr $patchurl : "\/" > /dev/null
 if [ $? -ne 0 ]; then
     patchurl='/'$patchurl