summaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2007-10-16 21:05:54 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2007-10-16 21:05:54 +0000
commit9a5a9f0d759687aaa685d12ac57576ef7235f379 (patch)
tree0595ea2c119295b7b0d5c1d8b44387cfa7d6af2a /Tools
parent8b2d58875aba429dd5760a00a1ad890e439ce410 (diff)
downloadedk2-platforms-9a5a9f0d759687aaa685d12ac57576ef7235f379.tar.xz
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
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/BaseTools/BuildEnv.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tools/BaseTools/BuildEnv.py b/Tools/BaseTools/BuildEnv.py
index 7ce9798bbd..ea493ec249 100755
--- a/Tools/BaseTools/BuildEnv.py
+++ b/Tools/BaseTools/BuildEnv.py
@@ -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),