Tools/BaseTools/BuildEnv.py:

For template processing, ignore 'hidden' files.
  (Those starting with a dot/period)


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4143 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
jljusten 2007-10-16 21:05:54 +00:00
parent 8b2d58875a
commit 9a5a9f0d75
1 changed files with 2 additions and 0 deletions

View File

@ -205,6 +205,8 @@ class SetupBuildEnvironmentApp:
print 'Templates & Conf directory'
print ' Templates dir:', self.RelativeToWorkspace(templatesDir)
for filename in os.listdir(templatesDir):
if filename.startswith('.'): continue
srcFilename = os.path.join(templatesDir, filename)
destFilename = os.path.join(confDir, filename)
print ' ', self.RelativeToWorkspace(destFilename),