Fixed an issue which will cause dependency check failure
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1558 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
		@@ -73,6 +73,11 @@ public class OnDependency extends Task {
 | 
				
			|||||||
            return true;
 | 
					            return true;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        if (targets.nameList.size() == 0) {
 | 
				
			||||||
 | 
					            EdkLog.log(this, EdkLog.EDK_VERBOSE, "No target file found!");
 | 
				
			||||||
 | 
					            return true;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        Iterator dstIt = targets.nameList.iterator();
 | 
					        Iterator dstIt = targets.nameList.iterator();
 | 
				
			||||||
        while (dstIt.hasNext()) {
 | 
					        while (dstIt.hasNext()) {
 | 
				
			||||||
            String dstFileName = (String)dstIt.next();
 | 
					            String dstFileName = (String)dstIt.next();
 | 
				
			||||||
@@ -106,6 +111,7 @@ public class OnDependency extends Task {
 | 
				
			|||||||
            }
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        EdkLog.log(this, EdkLog.EDK_VERBOSE, "Target files are up-to-date!");
 | 
				
			||||||
        return false;
 | 
					        return false;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user