Tools/BaseTools/BuildEnv.py:
authorjljusten <jljusten@de2fecce-e211-0410-80a6-f3fac2684e05>
Tue, 16 Oct 2007 21:05:54 +0000 (21:05 +0000)
committerjljusten <jljusten@de2fecce-e211-0410-80a6-f3fac2684e05>
Tue, 16 Oct 2007 21:05:54 +0000 (21:05 +0000)
  For template processing, ignore 'hidden' files.
  (Those starting with a dot/period)

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@4143 de2fecce-e211-0410-80a6-f3fac2684e05

edk2/Tools/BaseTools/BuildEnv.py

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