Fix \ inside ` problem in test-convert-svn (avoids code duplication, too)
authorThomas Arendsen Hein <thomas@intevation.de>
Fri, 31 Aug 2007 12:54:07 +0200
changeset 5275 4287590a63af
parent 5274 89696e71bd89
child 5276 694eb9ccb54d
Fix \ inside ` problem in test-convert-svn (avoids code duplication, too)
tests/test-convert-svn
--- a/tests/test-convert-svn	Fri Aug 31 12:40:23 2007 +0200
+++ b/tests/test-convert-svn	Fri Aug 31 12:54:07 2007 +0200
@@ -18,7 +18,7 @@
 echo a > a
 cd ..
 
-svnpath=`pwd | tr '\\' /`
+svnpath=`pwd | fix_path`
 # SVN wants all paths to start with a slash. Unfortunately,
 # Windows ones don't. Handle that.
 expr $svnpath : "\/" > /dev/null