Skip to content

Commit 9e7a6e0

Browse files
committed
Convert msys style paths to windows style in merge-archives.sh
1 parent fdd0a11 commit 9e7a6e0

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

merge-archives.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,14 @@ rm -f $SCRIPT
1818

1919
echo "CREATE $OUT" >> $SCRIPT
2020
while [ $# -gt 0 ]; do
21-
echo "ADDLIB $1" >> $SCRIPT
21+
case $(uname) in
22+
MINGW*)
23+
echo "ADDLIB $(cygpath -w $1)" >> $SCRIPT
24+
;;
25+
*)
26+
echo "ADDLIB $1" >> $SCRIPT
27+
;;
28+
esac
2229
shift
2330
done
2431
echo "SAVE" >> $SCRIPT

0 commit comments

Comments
 (0)