diff options
author | jwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-02-07 05:34:51 +0000 |
---|---|---|
committer | jwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-02-07 05:34:51 +0000 |
commit | de093b3c14eebd785c3cd0b73ca1ba0b2c98fb6e (patch) | |
tree | 6cf0820b12843273f67b966f8997602aa0fd3557 /Tools | |
parent | ff242d4066d4c8850e256799fc64e7956c76de24 (diff) | |
download | edk2-platforms-de093b3c14eebd785c3cd0b73ca1ba0b2c98fb6e.tar.xz |
(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
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/Java/Source/GenBuild/org/tianocore/build/GenBuildTask.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/Java/Source/GenBuild/org/tianocore/build/GenBuildTask.java b/Tools/Java/Source/GenBuild/org/tianocore/build/GenBuildTask.java index a849530109..28bfb9efb5 100644 --- a/Tools/Java/Source/GenBuild/org/tianocore/build/GenBuildTask.java +++ b/Tools/Java/Source/GenBuild/org/tianocore/build/GenBuildTask.java @@ -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++) {
|