https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-imagemagick
diff --git a/winpath.sh b/winpath.sh
index 488c268..b881b37 100755
--- a/winpath.sh
+++ b/winpath.sh
@@ -36,7 +36,7 @@
do
win_mount_path=`echo "$mount_entry" | sed -e 's: .*::g'`
unix_mount_path=`echo "$mount_entry" | sed -e 's:.* on ::;s: type .*::'`
- temp=`echo "$arg" | sed -e "s!^$unix_mount_path!$win_mount_path!"`
+ temp=`echo "$arg" | sed -e "s!^$unix_mount_path!$win_mount_path/!"`
if test "$temp" != "$arg"
then
candidate="$temp"