mirror of https://github.com/acidanthera/audk.git
(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:
parent
ff242d4066
commit
de093b3c14
|
@ -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++) {
|
||||
|
|
Loading…
Reference in New Issue