Commit 4f0c9cb39b7599312729278380ce63247bca226b

Anthony Green 2018-03-27T08:10:03

Use mixed cygpath paths

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/msvcc.sh b/msvcc.sh
index 7494a96..50e80fe 100755
--- a/msvcc.sh
+++ b/msvcc.sh
@@ -147,13 +147,13 @@ do
       shift 1
     ;;
     -I)
-      p=$(cygpath -w $2)
+      p=$(cygpath -m $2)
       args="$args -I$p"
       includes="$includes -I$p"
       shift 2
     ;;
     -I*)
-      p=$(cygpath -w ${1#-I})
+      p=$(cygpath -m ${1#-I})
       args="$args -I$p"
       includes="$includes -I$p"
       shift 1