aboutsummaryrefslogtreecommitdiffstats
path: root/erts/etc/win32/msys_tools/erl
diff options
context:
space:
mode:
Diffstat (limited to 'erts/etc/win32/msys_tools/erl')
-rw-r--r--erts/etc/win32/msys_tools/erl12
1 files changed, 3 insertions, 9 deletions
diff --git a/erts/etc/win32/msys_tools/erl b/erts/etc/win32/msys_tools/erl
index 576825c4be..cf49c33229 100644
--- a/erts/etc/win32/msys_tools/erl
+++ b/erts/etc/win32/msys_tools/erl
@@ -27,22 +27,16 @@ for x in "$@"; do
-I/*|-o/*)
y=`echo $x | sed 's,^-[Io]\(/.*\),\1,g'`;
z=`echo $x | sed 's,^-\([Io]\)\(/.*\),\1,g'`;
- #echo "Foooo:$z"
- MPATH=`cygpath -m $y`;
+ MPATH=`msys2win_path.sh -m $y`;
CMD="$CMD -$z\"$MPATH\"";;
/*)
- #echo "absolute:"$x;
- MPATH=`cygpath -m $x`;
+ MPATH=`msys2win_path.sh -m $x`;
CMD="$CMD \"$MPATH\"";;
-# +{*);;
*)
-# y=`echo $x | sed 's,",\\\\\\\\\\\",g'`;
y=`echo $x | sed 's,",\\\",g'`;
CMD="$CMD \"$y\"";;
esac
done
-#echo "$@"
-#eval echo erlc.exe $CMD
-ERL_TOP=`cygpath -m $ERL_TOP`
+ERL_TOP=`msys2win_path.sh -m $ERL_TOP`
export ERL_TOP
eval erl.exe $CMD