[commit: ghc] master: Fix windows detection in ./sync-all. (80ac75f)

git at git.haskell.org git at git.haskell.org
Fri Aug 23 13:14:45 CEST 2013


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/80ac75f774ef008f769d75db6738544c7a5fc8c4/ghc

>---------------------------------------------------------------

commit 80ac75f774ef008f769d75db6738544c7a5fc8c4
Author: Austin Seipp <aseipp at pobox.com>
Date:   Fri Aug 23 06:14:24 2013 -0500

    Fix windows detection in ./sync-all.
    
    We weren't considering 'msys' for the $OSNAME.
    
    Signed-off-by: Austin Seipp <aseipp at pobox.com>


>---------------------------------------------------------------

80ac75f774ef008f769d75db6738544c7a5fc8c4
 sync-all |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sync-all b/sync-all
index 03e9be7..977aed2 100755
--- a/sync-all
+++ b/sync-all
@@ -782,7 +782,7 @@ sub main {
 
     $tags{"-"} = 1;
     $tags{"dph"} = 1;
-    if ($OSNAME =~ /^(MSWin32|Cygwin)$/) {
+    if ($OSNAME =~ /^(MSWin32|Cygwin|msys)$/) {
         $tags{"windows"} = 1;
     }
 





More information about the ghc-commits mailing list