Mercurial > hg-stable
changeset 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 | 95f3694cc5a4 |
files | tests/test-mq-qimport |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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