]> git.proxmox.com Git - mirror_edk2.git/commitdiff
(Fixed EDKT523) Added more check on "archString" to see if it's empty or not.
authorjwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 7 Feb 2007 05:34:51 +0000 (05:34 +0000)
committerjwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 7 Feb 2007 05:34:51 +0000 (05:34 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2355 6f19259b-4bc3-4df7-8a09-765794883524

Tools/Java/Source/GenBuild/org/tianocore/build/GenBuildTask.java

index a84953010924a27622945ce7ddc4c10f2ea2793d..28bfb9efb51b3f5aeaf0c19facf339ba4f11d7ff 100644 (file)
@@ -232,7 +232,7 @@ public class GenBuildTask extends Ant {
 \r
         Set<String> archSet = new LinkedHashSet<String>();\r
         String archString = getProject().getProperty("ARCH");\r
-        if (archString != null) {\r
+        if (archString != null && archString.length() > 0) {\r
             String[] fpdArchList = archString.split(" ");\r
 \r
             for (int i = 0; i < fpdArchList.length; i++) {\r