(Fixed EDKT523) Added more check on "archString" to see if it's empty or not.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2355 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
jwang36 2007-02-07 05:34:51 +00:00
parent ff242d4066
commit de093b3c14
1 changed files with 1 additions and 1 deletions

View File

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