]> git.proxmox.com Git - mirror_edk2.git/blobdiff - edksetup.bat
CorebootPayloadPkg: Use extra braces to prevent gcc compile fail
[mirror_edk2.git] / edksetup.bat
index 03044416f7e0bf4e1e37dde066170174ef6cd736..25a5a6e8d7e37f11ab7f0ffd8c4f332c6e16514e 100755 (executable)
@@ -1,7 +1,7 @@
 @REM @file\r
 @REM   Windows batch file to setup a WORKSPACE environment\r
 @REM\r
-@REM Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>\r
+@REM Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>\r
 @REM This program and the accompanying materials\r
 @REM are licensed and made available under the terms and conditions of the BSD License\r
 @REM which accompanies this distribution.  The full text of the license may be found at\r
@@ -61,24 +61,28 @@ if /I not "%1"=="--nt32" goto no_nt32
 @REM and headers to interface with Windows.\r
 \r
 if not defined VCINSTALLDIR (\r
-  if defined VS110COMNTOOLS (\r
-    call "%VS110COMNTOOLS%\vsvars32.bat"\r
+  if defined VS120COMNTOOLS (\r
+    call "%VS120COMNTOOLS%\vsvars32.bat"\r
   ) else (\r
-    if defined VS100COMNTOOLS (\r
-      call "%VS100COMNTOOLS%\vsvars32.bat"\r
+    if defined VS110COMNTOOLS (\r
+      call "%VS110COMNTOOLS%\vsvars32.bat"\r
     ) else (\r
-      if defined VS90COMNTOOLS (\r
-        call "%VS90COMNTOOLS%\vsvars32.bat"\r
+      if defined VS100COMNTOOLS (\r
+        call "%VS100COMNTOOLS%\vsvars32.bat"\r
       ) else (\r
-        if defined VS80COMNTOOLS (\r
-          call "%VS80COMNTOOLS%\vsvars32.bat"\r
+        if defined VS90COMNTOOLS (\r
+          call "%VS90COMNTOOLS%\vsvars32.bat"\r
         ) else (\r
-          if defined VS71COMNTOOLS (\r
-            call "%VS71COMNTOOLS%\vsvars32.bat"\r
+          if defined VS80COMNTOOLS (\r
+            call "%VS80COMNTOOLS%\vsvars32.bat"\r
           ) else (\r
-            echo.\r
-            echo !!! WARNING !!! Cannot find Visual Studio !!!\r
-            echo.\r
+            if defined VS71COMNTOOLS (\r
+              call "%VS71COMNTOOLS%\vsvars32.bat"\r
+            ) else (\r
+              echo.\r
+              echo !!! WARNING !!! Cannot find Visual Studio !!!\r
+              echo.\r
+            )\r
           )\r
         )\r
       )\r