]> git.proxmox.com Git - rustc.git/blobdiff - src/rust-installer/install-template.sh
New upstream version 1.12.0+dfsg1
[rustc.git] / src / rust-installer / install-template.sh
index 21aaa949fa281a8bbc4ba8c778e6295210af3244..692a394203224b1563f59953fe757ba3c3a1292e 100644 (file)
@@ -360,28 +360,12 @@ get_host_triple() {
             _ostype=pc-windows-gnu
             ;;
 
-       # Vista 32 bit
-       CYGWIN_NT-6.0)
-            _ostype=pc-windows-gnu
-            ;;
-
-       # Vista 64 bit
-       CYGWIN_NT-6.0-WOW64)
-            _ostype=pc-windows-gnu
-            ;;
-
-       # Win 7 32 bit
-       CYGWIN_NT-6.1)
-            _ostype=pc-windows-gnu
-            ;;
-
-       # Win 7 64 bit
-       CYGWIN_NT-6.1-WOW64)
+       CYGWIN*)
             _ostype=pc-windows-gnu
             ;;
 
        *)
-           err "unknown value from uname -s: $uname_value"
+           err "unknown value from uname -s: $_uname_value"
            ;;
     esac