t9200: On MSYS, do not pass Windows-style paths to CVS

For details, see the commit message of 4114156ae9. Note that while using $PWD as part of GIT_DIR is not required here, it does no harm and it is more consistent. In addition, on MSYS using an environment variable should be slightly faster than spawning an external executable. Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Sebastian Schuberth committed Jan 11, 2012 at 10:20 UTC 4397c6535ea314b3412d6a0658ecf44241d07df1
1 file changed +3 -3
t/t9200-git-cvsexportcommit.sh
+3 -3
@@ -19,9 +19,9 @@ then
19 test_done
20 fi
21
22 -CVSROOT=$(pwd)/cvsroot
23 -CVSWORK=$(pwd)/cvswork
24 -GIT_DIR=$(pwd)/.git
22 +CVSROOT=$PWD/cvsroot
23 +CVSWORK=$PWD/cvswork
24 +GIT_DIR=$PWD/.git
25 export CVSROOT CVSWORK GIT_DIR
26
27 rm -rf "$CVSROOT" "$CVSWORK"