[PATCH 1/2] t9200: On MSYS, do not pass Windows-style paths to CVS
- From
Sebastian Schuberth <sschuberth@gmail.com>
- Date
- Jan 11, 2012, 09:20 UTC
- Message-ID
- <4F0D544E.6010105@gmail.com>
- In-Reply-To
- <4F0D5367.1000506@gmail.com>
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> --- t/t9200-git-cvsexportcommit.sh | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/t/t9200-git-cvsexportcommit.sh b/t/t9200-git-cvsexportcommit.sh index 41db05c..518358a 100755 --- a/t/t9200-git-cvsexportcommit.sh +++ b/t/t9200-git-cvsexportcommit.sh @@ -19,9 +19,9 @@ then test_done fi -CVSROOT=$(pwd)/cvsroot -CVSWORK=$(pwd)/cvswork -GIT_DIR=$(pwd)/.git +CVSROOT=$PWD/cvsroot +CVSWORK=$PWD/cvswork +GIT_DIR=$PWD/.git export CVSROOT CVSWORK GIT_DIR rm -rf "$CVSROOT" "$CVSWORK"
-- 1.7.9.rc0.5096.g30a61