]> git.proxmox.com Git - mirror_edk2.git/blobdiff - edksetup.bat
Fix a bug about the iSCSI DHCP dependency issue.
[mirror_edk2.git] / edksetup.bat
index 093f49182bf7d6abdd5fc0a64114ebb3a7cca00a..2c8c072884b87498f55c036065e9e170c296db95 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 - 2008, Intel Corporation. All rights reserved.<BR>\r
+@REM Copyright (c) 2006 - 2013, 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,18 +61,26 @@ set EDK_SOURCE=
 @REM and headers to interface with Windows.\r
 \r
 if not defined VCINSTALLDIR (\r
-  if defined VS71COMNTOOLS (\r
-    call "%VS71COMNTOOLS%\vsvars32.bat"\r
+  if defined VS110COMNTOOLS (\r
+    call "%VS110COMNTOOLS%\vsvars32.bat"\r
   ) else (\r
-    if defined VS80COMNTOOLS (\r
-      call "%VS80COMNTOOLS%\vsvars32.bat"\r
+    if defined VS100COMNTOOLS (\r
+      call "%VS100COMNTOOLS%\vsvars32.bat"\r
     ) else (\r
       if defined VS90COMNTOOLS (\r
         call "%VS90COMNTOOLS%\vsvars32.bat"\r
       ) else (\r
-        echo.\r
-        echo !!! WARNING !!! Cannot find Visual Studio !!!\r
-        echo.\r
+        if defined VS80COMNTOOLS (\r
+          call "%VS80COMNTOOLS%\vsvars32.bat"\r
+        ) else (\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
   )\r