diff --git a/test/t4205-full-deps6.sh b/test/t4205-full-deps6.sh index f351d7cb4..974112a9b 100755 --- a/test/t4205-full-deps6.sh +++ b/test/t4205-full-deps6.sh @@ -45,7 +45,7 @@ touch foo.c bar.c update if [ "$in_windows" = "1" ]; then - prefix="`echo $PWD | sed 's,/cygdrive/c,c:,'`" + prefix="`echo $PWD | sed 's,/c,c:,'`" else prefix="$PWD" fi diff --git a/test/t4208-full-deps-external.sh b/test/t4208-full-deps-external.sh index 495b0de29..b6636157b 100755 --- a/test/t4208-full-deps-external.sh +++ b/test/t4208-full-deps-external.sh @@ -55,7 +55,7 @@ HERE update if [ "$in_windows" = "1" ]; then - prefix="`echo $root | sed 's,/cygdrive/c,c:,'`" + prefix="`echo $root | sed 's,/c,c:,'`" else prefix="$root" fi