summaryrefslogtreecommitdiff
path: root/compile
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2022-09-24 04:20:34 +0000
committerXin LI <delphij@FreeBSD.org>2022-09-24 04:20:34 +0000
commitac33800609941e32486585331e2d4af9ecdd554b (patch)
treed643ef47f63c6734de36c5d0ee5fa380d35502da /compile
parent5457a3f25818dc2a14ec8a58c6f27dc42a50cdd4 (diff)
Diffstat (limited to 'compile')
-rwxr-xr-xcompile6
1 files changed, 3 insertions, 3 deletions
diff --git a/compile b/compile
index 99e50524b3ba..df363c8fbfbc 100755
--- a/compile
+++ b/compile
@@ -3,7 +3,7 @@
scriptversion=2018-03-07.03; # UTC
-# Copyright (C) 1999-2018 Free Software Foundation, Inc.
+# Copyright (C) 1999-2021 Free Software Foundation, Inc.
# Written by Tom Tromey <tromey@cygnus.com>.
#
# This program is free software; you can redistribute it and/or modify
@@ -53,7 +53,7 @@ func_file_conv ()
MINGW*)
file_conv=mingw
;;
- CYGWIN*)
+ CYGWIN* | MSYS*)
file_conv=cygwin
;;
*)
@@ -67,7 +67,7 @@ func_file_conv ()
mingw/*)
file=`cmd //C echo "$file " | sed -e 's/"\(.*\) " *$/\1/'`
;;
- cygwin/*)
+ cygwin/* | msys/*)
file=`cygpath -m "$file" || echo "$file"`
;;
wine/*)